Sometimes, I forget to push my git commits to our git server at the end of the day. This causes inconvenience to others as they can’t review my code or build upon it. So, today I wrote a small script which syncs all my git repositories with a remote server. Hope it helps you too :)
The setup consists of three files:
###core syncing script at ~/.scripts/sync-repos###
1 |
|
###config file pointing to all the repos at ~/.sync-repos###
1 |
|
###upstart shutdown trigger script at /etc/init/syncrepos.conf###
1 |
|
I am currently working on LiveForm which makes
setting up contact forms on your website a breeze.