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

add VS Code & JetBrains IDEA (RustRover, CLion, etc.) to .gitignore #108

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

rursprung
Copy link
Contributor

No description provided.

@dbrgn
Copy link
Owner

dbrgn commented Jan 10, 2024

In general such ignores should be in your personal .gitignore file, if you use these IDEs, but it doesn't hurt to add them here either.

@dbrgn dbrgn merged commit 4f2c36c into dbrgn:main Jan 10, 2024
3 checks passed
@rursprung rursprung deleted the add-IDEs-to-gitignore branch January 10, 2024 07:26
@rursprung
Copy link
Contributor Author

In general such ignores should be in your personal .gitignore file, if you use these IDEs, but it doesn't hurt to add them here either.

that is a good point, thanks! i wonder why i've never set this up before 🤔
though i think a lot of people are unaware of it and thus having it in the repo for the most common IDEs (probably the two which i added?) doesn't hurt and is what i see in a lot of projects. thanks for merging!

and i've now added it to my global ~/.gitignore. now i just need to remember to set up this config everywhere 😅

@dbrgn
Copy link
Owner

dbrgn commented Jan 10, 2024

Yeah, and there's also a downside: If you do want to add a .vscode/ directory (or similar) to a project, it will be ignored and must be un-ignored 🙂

Note that you can also set up git configs conditionally, depending on path prefix.

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

Successfully merging this pull request may close these issues.

2 participants