Created
April 28, 2019 19:48
-
-
Save zastrow/24d27f1be76481e04fd287ed8d5a302c 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
function jira-commit() { | |
branch_name=$((git symbolic-ref HEAD | cut -d'/' -f3) | tr '[:lower:]' '[:upper:]') | |
git commit -m "$@"$'\n'"${branch_name}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment