comparison sync-git.sh @ 1270:4cfa8db3fc9e

fix: sync-script
author sam <sam@basx.dev>
date Sun, 28 Jul 2024 23:18:05 +0700
parents 617ebd404fbe
children
comparison
equal deleted inserted replaced
1269:81450075ad89 1270:4cfa8db3fc9e
1 #!/bin/sh 1 #!/bin/sh
2 2
3 rsync -r --exclude '.hg/' --exclude 'build/' --exclude 'sync-git.sh' . /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}" )"