Skip to content

Instantly share code, notes, and snippets.

@janniks
Last active September 29, 2019 19:17
Show Gist options
  • Save janniks/bc17587f75aec944edebb45a7d987447 to your computer and use it in GitHub Desktop.
Save janniks/bc17587f75aec944edebb45a7d987447 to your computer and use it in GitHub Desktop.
MOVED https://github.com/janniks/prepare-commit-msg - Automatically prefix commit messages with the current branches issue number
MOVED TO:
https://github.com/janniks/prepare-commit-msg
@janniks
Copy link
Author

janniks commented Nov 15, 2016

Copy link

ghost commented Jul 11, 2017

๐Ÿ˜ ๐ŸŽ‰

Copy link

ghost commented Jul 24, 2017

What about adding the uninstall instructions from the script to the readme?

If you're unhappy with this git hook, simply run rm -rf .git/hooks/prepare-commit-msg to uninstall again.

@jannik-mohemian
Copy link

jannik-mohemian commented Sep 26, 2017

Maybe think about additional features and automatic adjustments... ๐ŸŽ‰

i.e. enforcing capitalization of the first character

Example
testing stuff โ†’ [ABC-123] Testing stuff

@janniks
Copy link
Author

janniks commented Sep 28, 2017

@daniel-mohemian: Added your proposal ๐ŸŽ‰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment