github
github copied to clipboard
"Add to gitignore" in right-click menu
Looking at Unstaged Changes, I can right-click a filename and I get options including "Open File," "Stage," and "Discard Changes." I'd also like an option to add the file to that repo's gitignore (and maybe even do that with a whole folder in the Folder view).
This is a bit related to the UX issues behind #1131 and #888, but the proposed fix is making it easier to change gitignore and thus help people configure their repositories correctly (to track only those files they want git to track).
Also, if it's not clear, the workaround is to manually edit the .gitignore file and this is a proposed UI improvement.
this is a great idea
+1
Definitely! I was just trying to do this!
Would definitely like to see this
It would be awesome!
+1
+1