-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Git is better than Subversion in that it can do “self-ignoring ignores”, that is, temporary ignores. For example, creating a git-repo/committed-xml-dir/.gitignore:
/.gitignore
/*.xml
This will cause all XML files in that directory to then be ignored, and if you do a git status the .gitignore won't show up either. This allows files to be temporarily ignored locally without having to commit anything. In contrast, Subversion ignores are handled via a the svn:ignore property, and you can't do svn propset svn:ignore "*.xml" ." and then ignore the ignore viasvn:ignore "." .`—it doesn't work.
Metadata
Metadata
Assignees
Labels
No labels