I have made changes to certain files (docker-init etc) for debugging purposes and I don't intend to push those changes to master.
Whenever I do a rebase, I either need to stash my changes or do a commit and later undo it. This is a bit tedious to be honest.
I don't want git to track changes on those files but I can't add the files to gitignore
as they might be removed from the master branch. Or can I?