Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

 
discard

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

Browse other questions tagged or ask your own question.