Reputation: 589
Is there anyway I can set my machine to automatically pull down the repo every time the repo in github is committed?
Upvotes: 2
Views: 3551
Reputation: 16012
You can use a crontab entry for that. Working with commit hooks triggered from GitHub requires your host being reachable directly from the internet.
Fast forward pulls into your checked out repository only works if you don't change or commit anything locally. Otherwise you have to reset changes.
Upvotes: 1