Skip to content

Instantly share code, notes, and snippets.

@itsazzad
Last active August 25, 2021 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itsazzad/e7b4a20350d6b754312f86627e6e1ab8 to your computer and use it in GitHub Desktop.
Save itsazzad/e7b4a20350d6b754312f86627e6e1ab8 to your computer and use it in GitHub Desktop.
Git Organization Add Commit Push
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