How to locally ignore .git and .gitignore in a svn repo?
问题 I have a SVN working copy (managed by TortoiseSVN). In that working copy I use git for local version control and branching. Of course, I want to hide the .git directory and .gitignore file for svn. However, ignoring them means adding a property to the repository which is no longer local. I don't want that (as many people share this repo) as it is annoying since it is proposed to be committed on each commit to the repo. I found (via that question) the possibility of the ignore-on-commit list.