Last active
August 25, 2021 01:31
-
-
Save itsazzad/e7b4a20350d6b754312f86627e6e1ab8 to your computer and use it in GitHub Desktop.
Git Organization Add Commit Push
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
echo "Message:" | |
read message | |
for f in *; do | |
if [ -d "$f" ]; then | |
cd $f | |
pwd | |
echo "$upstream/$f" | |
git add --all | |
git commit -m "$message" | |
git push upstream | |
cd .. | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment