I have a git project where I have to do some changes to one file to get it working on a specific machine. This file is part of the repository and I don't want the file to be committed and uploaded to master unless i specifically tell it so. I want that or I want a command or option that I have to execute before committing and pushing so that the changes does not get uploaded to master.
Is this possible?