Last active
July 4, 2021 13:17
-
-
Save jpalmieri/cb6271004127633a133e9606ddba58b1 to your computer and use it in GitHub Desktop.
git alias to prepend last commit message with '[skip ci]' (to skip a travis build)
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
git config --global alias.skip-ci '!git reset && COMMIT_MSG=`git show --format=format:%B -s` && git commit --allow-empty --amend -m "[skip ci] $COMMIT_MSG"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment