- Create a directory "git-repos" anywhere you want
- Create an alias in .bash_profile: alias clone="cd /path/to/git-repos/ && git clone". You can now clone repositories with: clone git@server:project.git
- Put the below git-pull-all.php script in git-repos directory
- Finally, create an alias to issue the update: alias update-git-repos="php /path/to/git-repos/git-pull-all.php".
Saturday, April 16, 2011
Get all updated git repositories easily
Sometimes, you'll find yourself looking for the newest versions of some projects that you have to use in your own projects e.g: jQuery. I myself like to organize all those projects in one place so I can search for them easily. This is how I keep it organized:
Subscribe to:
Posts (Atom)