Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save besmirzanaj/80b1cf226f68fc4c799ea80b0f6f5902 to your computer and use it in GitHub Desktop.
Save besmirzanaj/80b1cf226f68fc4c799ea80b0f6f5902 to your computer and use it in GitHub Desktop.
sync local git repos
a script in you bashrc to sync locally your repos
alias gitdown='find . -name .git -type d | xargs -n1 -P4 -I% git --git-dir=% --work-tree=%/.. pull -v --progress'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment