Open jasonycw opened 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.
I just posted to the forums a basic workaround:
https://forum.sublimetext.com/t/ignore-file-directory-menu-items/57604
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