Update git repos oneliners

Update all the git repos in one directory in one line.
A git-svn and git-pull example.

by humancoder 11 months, 2 weeks ago and tagged with: update bash git
1
2
3
for repo in `ls`; do cd $repo; git svn rebase; cd /original/path/; done

for repo in `ls`; do cd $repo; git pull; cd /original/path/; done

Currently 0 comments

To post a comment, you must login.