Skip to content

New topic: self-ignoring ignores #10

@westonruter

Description

@westonruter

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions