I have several files on my machine that will always be different from those in our Git repository (the ASP web.config file, which has different settings for my local window from our production servers and the .rds file for report services, in which has my personal credentials to connect to our report server). What do you recommend for working with Git in this scenario?
What I do not want to do is store these files every time I commit. I also do not want to create a branch containing these 2 files, because then on each commit, I must first transfer the main branch, and from there dcommit to the main SVN repo that we use. It would also be nice to ignore these files, as others could make changes to them that I need.
As a final result, I would like to be able to do everything at any time, and not always add everything else to my index, except for these two files.
source share