Created
December 21, 2021 06:18
-
-
Save zew13/76caab5e55bd8b650eefcdee7419822a 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
| #!/usr/bin/env bash | |
| branch=`git branch 2> /dev/null | sed -e '/^[^*]/d' |awk -F' ' '{print $2}'` | |
| git add --update :/ && git commit -m "🔶" | |
| git pull origin $branch | |
| branch=`git branch|awk '{print $2}'` | |
| git pull origin $branch | |
| git merge $branch | |
| git push --tag --set-upstream origin $branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment