view sync-git.sh @ 1268:617ebd404fbe

fix: git-sync script
author sam <sam@basx.dev>
date Sun, 28 Jul 2024 23:14:22 +0700
parents 4cf9872f7bb6
children 4cfa8db3fc9e
line wrap: on
line source

#!/bin/sh

rsync -r --exclude '.hg/' --exclude 'build/' --exclude 'sync-git.sh' . /home/sam/git/semicongine/

git -C /home/sam/git/semicongine/ commit -a -m $( hg log --limit 1 --template "{desc}" )