I can’t find any documentation about this:
What 'use gitignore' is for?
Thanks, but for people who don’t know what gitignore
means, this doesn’t explain much.
That’s why I think it would be important for this to be better explained in the official documentation.
I guess the presumption would be that for the button to make any sense to you and actually perform a function, you would be working inside of files tracked by git
, and as such you should know what .gitignore
does by default.
True. But the button always show whether you work with git or not. So people who don’t use git may confuse even if the button has no function.
Find-in-files can search all paths on your system and git repositories can be deep inside those paths. Showing and hiding the button based on the contents of the “Where” field is much worse behavior.
if you back up your folders on Github, gitignore tells the backup what not to send to the repository