Many times I would like to change some lines of code to simplify debugging, but I really don't want to commit them. For example, I turn off some annoying features (like ads) by commenting on some lines of code, or I set the levels and log filters only to those who care, or I made the condition be true so that the block of code I want to run works all the time .
In Perforce, I would create a βchangelogβ for these files and label it βNOT COMMITTEE!β. What would be equivalent to this in Git? The branch does not work, because these changes are for debugging only, should exist with the other changes that I am currently doing.
source share