I have a config file which I want to keep on the remote repository, but I don\'t want to track its changes on my computer. Adding it to .gitignore doesn\'t do the trick.
You could commit all the other files, and for the changes to the local configurations alone, you could use the 'stash' feature that git provides.