github icon indicating copy to clipboard operation
github copied to clipboard

"Add to gitignore" in right-click menu

Open wbt opened this issue 7 years ago • 8 comments

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).

wbt avatar Jan 18 '18 17:01 wbt

Also, if it's not clear, the workaround is to manually edit the .gitignore file and this is a proposed UI improvement.

wbt avatar Jan 18 '18 17:01 wbt

this is a great idea

forwinder15 avatar Oct 16 '18 15:10 forwinder15

+1

babbahotep avatar Apr 29 '19 16:04 babbahotep

Definitely! I was just trying to do this!

RhythmInk avatar Jul 11 '19 01:07 RhythmInk

Would definitely like to see this

Mukhilm avatar Feb 26 '20 22:02 Mukhilm

It would be awesome!

rolocampusano avatar Aug 02 '21 19:08 rolocampusano

+1

RampedIndent avatar Oct 03 '21 02:10 RampedIndent

+1

saumyakswain avatar Apr 20 '22 05:04 saumyakswain