Is there a way to block commits?
I notice that PhpStorm would notice TODO: marks and warn you before commiting. Is there an equivelent "@nocmmit" tag I can use to outright stop a commit from happening on a file? Often, I want to go ahead and commit TODOs, so I would often ignore the TODO and Warning messages. However, in instances I specifically do _not_ want to commit a file, I want to block myself from accidentally committing it.
I found a thread talking about using the syntax highlights to call-out @nocommit blocks. However, I'm not finding an option that would outright block a commit. Is there such an option?
Please sign in to leave a comment.
There is no such option for now, please see http://youtrack.jetbrains.com/issue/IDEA-118450 .
See https://intellij-support.jetbrains.com/entries/23368682 if you are not familiar with YouTrack.
Thought so. I looked around for a bit. Thanks!