Skip to content

Instantly share code, notes, and snippets.

@bryanveloso
Created September 21, 2009 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanveloso/190635 to your computer and use it in GitHub Desktop.
Save bryanveloso/190635 to your computer and use it in GitHub Desktop.
Scripts I use to keep my huge load of local repositories updated.
#!/bin/bash
for dir in ~/Repositories/Git/*
do
(cd $dir && git pull)
done
#!/bin/bash
for dir in ~/Repositories/Mercurial/*
do
(cd $dir && hg pull && hg update)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment