In the projects I'm working on, we have both files checked into Git but ones that I want to see ignored for navigation (e.g. VCR cassettes), as well as vice versa (some config files, e.g. settings.yml, when the version checked into Git is called settings.sample.yml).
I think we can combine the ignore lists somehow and pass the result to Git using --exclude-from. I've been toying with this approach for the built-in project.el VC backend, albeit very slowly.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
Quoting the comment here:
In the projects I'm working on, we have both files checked into Git but ones that I want to see ignored for navigation (e.g. VCR cassettes), as well as vice versa (some config files, e.g.
settings.yml
, when the version checked into Git is calledsettings.sample.yml
).I think we can combine the ignore lists somehow and pass the result to Git using
--exclude-from
. I've been toying with this approach for the built-inproject.el
VC backend, albeit very slowly.