sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

Button to gitignore file #110

Open jasonycw opened 5 years ago

jasonycw commented 5 years ago

Problem description

I cannot find a way to ignore file on the commit dialog, and seems not allow to right click on the file for more actions

Preferred solution

A button left of "Delete" that "Add to gitignore"

Alternatives

Right click file and have a sub menu for actions

Screenshots image

bustbr commented 5 years ago

I'd like to not only do this with a local .gitignore but also the git repo's local ignore (${project_root}/.git/info/exclude) and my user's ignore file (${home}/.config/git/ignore). I feel like many people don't even know about these and then start adding their local trash files (like those pesky .DS_Store files on macOS) to a project's .gitignore where they don't belong.

srbs commented 3 years ago

I just posted to the forums a basic workaround:

https://forum.sublimetext.com/t/ignore-file-directory-menu-items/57604