Last active
September 8, 2022 17:51
-
-
Save mertcanaltin/af29d940eb9e7f77b4a384aad2830e80 to your computer and use it in GitHub Desktop.
a unix/mac terminal command that can git pull all repos at once update
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
| find . -maxdepth 1 -type d -exec sh -c '(cd {} && git reset --hard && git clean -fd && git submodule update --init --recursive && git pull && git fetch)' ';' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment