file name as auto_synch_this_path.command
content as
cd `dirname $0`;git status;git add -A;git commit -m 'zx';git pull;git push
$ chmod a+x auto_synch_this_path.command
now can run this script by double click
file name as auto_synch_this_path.command
content as
cd `dirname $0`;git status;git add -A;git commit -m 'zx';git pull;git push
$ chmod a+x auto_synch_this_path.command
now can run this script by double click