Force comment on commit
gSql
Posts: 1 New member
Hi. We are using Source Control for GitHub and would like to force the developer to put a description on commit. (Like in Visual Studio). Is there an option to force that?
Tagged:
Best Answer
-
PeterG Posts: 61 Silver 3Hi,
This is not currently supported in SQL Source Control. We have a uservoice request for this feature: https://redgate.uservoice.com/forums/39019-sql-source-control/suggestions/18580312-require-a-commit-message-for-git please feel free to vote for it.
Peter Gerrard
Software Engineer
Redgate Software
Answers
https://redgate.uservoice.com/forums/39019-sql-source-control/suggestions/33730249-sql-source-control-git-hook-support
Up votes on that request item might prove more useful and productive to you.
If it honored hooks, you would create a simple hook that required a commit message which you may already have in place. Visual Studio suffered the same failing until it converted away from using gitlib2 into directly calling the git.exe executable as of VS 2017.