Last active
February 6, 2021 22:18
-
-
Save pollend/61b2db2c87ac22b3e58a80ef0539ca19 to your computer and use it in GitHub Desktop.
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
| #!/bin/bash | |
| org="" | |
| tg="" | |
| for i in */; do | |
| tg="$(git -C "$(pwd)/$i" status)"; | |
| if [[ $tg == *"modified"* ]]; then | |
| echo "${i}"; | |
| fi; | |
| done; | |
| for i in */; do git -C "$(pwd)/$i" pull origin develop; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment