Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking generated files with Pathogen #18

Closed
bs opened this issue Feb 15, 2011 · 2 comments
Closed

Tracking generated files with Pathogen #18

bs opened this issue Feb 15, 2011 · 2 comments

Comments

@bs
Copy link

bs commented Feb 15, 2011

If you use Git to store all of your configs, and if a plugin generates a file in its own directory, it will remain as untracked content.

For example, YankRing generates a docs/tags file.
modified: bundle/YankRing.vim (untracked content)

This means that unless the mirror of VimScripts on Github adds a .gitignore entry for that file, Pathogen users are in trouble.

@tpope
Copy link
Owner

tpope commented Feb 15, 2011

Create your own custom excludes list and ignore tags there.

git config --global core.excludesfile '~/.gitexcludes'
echo tags > ~/.gitexcludes

Way easier than modifying every plugin out there.

@bs
Copy link
Author

bs commented Feb 15, 2011

Ah, that worked perfectly.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants