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

.git/info/exclude support #466

Open
tuncbkose opened this issue Mar 7, 2023 · 3 comments
Open

.git/info/exclude support #466

tuncbkose opened this issue Mar 7, 2023 · 3 comments

Comments

@tuncbkose
Copy link

For projects where individuals might have different workflows, .git/info/exclude offers a nice alternative to .gitignore. So it can be nice to make devenv edits there instead of .gitignore. Maybe a --local flag for devenv init could provide such functionality.

@theutz
Copy link

theutz commented Apr 18, 2023

I'm curious: why is this not something that you can already achieve with devenv? Do they restrict this somehow?

@tuncbkose
Copy link
Author

I don't really understand your question, but here is what I had in mind:

It is not uncommon to see .gitignore as a part of a project repo, where for example some files produced during building a program might be added. Since devenv related to my local development and has nothing to do with the project itself, I'd prefer to keep any related changes locally, and not commit any reference to devenv to the repo itself. Thus, if I do devenv init, I would need to manually modify .gitignore to undo changes and add them to .git/info/exclude. This is perfectly doable, but it would just be slightly more convenient if I could just have a flag in devenv init or a global config to always to this instead.

@theutz
Copy link

theutz commented Apr 18, 2023

Oh, I see! That makes more sense to me now. :) Thanks for clarifying!

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