Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,846
Community Members
 
Community Events
168
Community Groups

Warn before commit code with special keyword

is there a way to setup Sourcetree so that it will warn me if i'll try to commit/stage code with special, custom keyword like NOCOMMIT?

Code example:

//...

var someVar = 1; // NOCOMMIT

//...

if I try to commit this code fragment, I would like to get warn in Sourcetree - "Hey do you really want to commit this change?"

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events