I use git svnto merge changes from the local git repository to the SVN server. However, when I issue git svn dcommit, it will actually commit any .gitignore files that I have in my source tree. This happens even after I checked the local SVN repository (using SVN), set the svn: ignore property (recursively listing .gitignore as one of the ignored files), and then passing this property directly to SVN.
Is this the intended behavior? Bug? Is there any work around that anyone knows to save .gitignore from SVN?
I just know that the non-git user in my team will see these files and start deleting them, and the next time I go to rebase/dcommit, a lot of junk files will start in SVN.
source
share