DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Automatically Push A Git Repo On Commit
// description of your code here
cd my_repo echo 'git push' > .git/hooks/post-commit chmod 755 .git/hooks/post-commit






Comments
Bijay Rungta replied on Thu, 2010/07/08 - 10:36am
Bijay Rungta replied on Thu, 2010/07/08 - 10:36am