Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to track files in git locally, but not commit them to the SVN repository. Is this possible?

My reasoning for doing so is that I have some configuration files in a directory that is tracked by SVN (or git svn in my case). I'd like to track those files in git so I can quickly merge changes easily.

share|improve this question
You could create a new git branch that contains these files. –  Lars Kotthoff Feb 9 '12 at 19:07
Yes, I have done that, but the problem is when I branch off of that and then merge back into 'master', it will want to pull those changes in. –  Walter White Feb 10 '12 at 14:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.