Created
March 14, 2012 21:34
-
-
Save Zoramite/2039690 to your computer and use it in GitHub Desktop.
Git Bulk Aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gitstatus='find . -maxdepth 2 -path "*/.git" -print -execdir git status ";"' | |
alias gitfetch='find . -maxdepth 2 -path "*/.git" -print -execdir git fetch origin ";"' | |
alias gitpull='find . -maxdepth 2 -path "*/.git" -print -execdir git pull ";"' | |
alias gitpush='find . -maxdepth 2 -path "*/.git" -print -execdir git push ";"' | |
alias gitprune='find . -maxdepth 2 -path "*/.git" -print -execdir git prune ";"' | |
alias gitsub='find . -maxdepth 2 -path "*/.git" -print -execdir git submodule update --init --recursive ";"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment