Comment on Discussion of the Benefits and Drawbacks of the Git Pre-Commit HookparentComments−indentit10moMaybe create a shell alias which would act as a wrapper around git to do just that, when you try to commit on the wrong branch
Comments
Maybe create a shell alias which would act as a wrapper around git to do just that, when you try to commit on the wrong branch