-
Notifications
You must be signed in to change notification settings - Fork 627
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
Enhancement suggestion: distinguishing environment- and project-specific gitignore #446
Comments
Great suggestion. I do have a few questions about how users would know what the yellow background would actually mean. Also it's the web so anything is possible — Right now I'm using the Select2 select box framework so if this functionality is available there, I could apply it to the gitignore.io. |
Have you thought about his this may also apply to the command line? |
I didn't think of it but that sounds also useful. |
got a company repo filled with .nano_history, .bash_history, etc. |
This issue is stale because it has been open for 30 days with no activity. |
My idea is about enhancement of the gitignore.io website: highlighting environment-specific items in the search box.
It is widely known that it is bad habit to add OS-specific / editor-specific / IDE-specific gitignore list into each project's
.gitignore
. Instead, one should add them into global.gitignore
in their local machine. This is already pointed out in some issues, e.g. #4 , #38 . And in documentation it is already (implicitly) recommended to add Operating System and IDE settings to global.gitignore
.However, since I have used the web interface only for a long time and didn't know it was not preferable; I just obediently followed to the message "Search Operating Systems, IDEs, or programming languages" and copy & pasted all the stuff into
.gitignore
in my each project.So my opinion is that it would be helpful (especially for beginners!) if the web interface highlighted Windows, Vim or Eclipse with yellow background when they were entered into the search box, and show humble warning message below. Is it difficult to do that?
I'm sorry if this sort of issue was already posted.
The text was updated successfully, but these errors were encountered: