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
Community Members
Community Events
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

Atlassian Community Events