Created
October 12, 2021 14:41
-
-
Save KyMidd/2c73f36f0ab461958f65b8c7434e7367 to your computer and use it in GitHub Desktop.
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
# Since this runs right after merge, use last commit message to construct new branch name | |
branch=$(git log -n 1 --pretty="%B" | grep "Merge pull request" | cut -d "/" -f 2-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment