Created
June 9, 2020 21:30
-
-
Save akshaymittal143/6bacfb0309332d14fd31c304780da125 to your computer and use it in GitHub Desktop.
git pull all nested repo from the base dir
This file contains 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
add this into `.bash_profile` | |
alias git-pull-all="find . -maxdepth 3 -name .git -type d | rev | cut -c 6- | rev | xargs -I {} git -C {} pull" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment