Does anyone know if there\'s a githook that will hook into the creation of a branch in order to reject the branch name before it\'s actually created?
I currently use com
Seems like you are referring to placing a policy for commits or branch creation. There is a git config command which helps in putting some template in place eg:
$ git config --global commit.template ~/.template.txt $ git commit
subject line
what happened
[ticket: X]
# Please enter the commit message .......
#
# modified: lib/test.rb
#
~
~
".git/COMMIT_EDITMSG"
Sorry if this did not help. Thanks.