comparison 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
comparison
equal deleted inserted replaced
1267:4cf9872f7bb6 1268:617ebd404fbe
1 #!/bin/sh 1 #!/bin/sh
2 2
3 rsync -r --exclude '.hg/' --excdlue 'build/' . /home/sam/git/semicongine/ 3 rsync -r --exclude '.hg/' --exclude 'build/' --exclude 'sync-git.sh' . /home/sam/git/semicongine/
4 4
5 git -C /home/sam/git/semicongine/ commit -a -m $( hg log --limit 1 --template "{desc}" ) 5 git -C /home/sam/git/semicongine/ commit -a -m $( hg log --limit 1 --template "{desc}" )