Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I am surprised (and still in disbelief) that this has not already been implemented
Am I the only one ignoring by wildcard?
My bad if this is actually already a feature, I could not find it
Works exactly like the "ignore" command
But instead of ignoring a file it ignores *. of the selected file
Given a repository with 2 files (changes) - "foo.log" and "bar.log"
Hitting "i" on a "foo.log" would untrack/delete "foo.log" and append "foo.log" to .gitignore
Hitting "I" on a "foo.log" will untrack/delete all .log files - in this case that would be "foo.log" and "bar.log" - and append "*.log" to .gitignore
That's all it does
I did not want to machine translate for any languages so only english.go is updated (ie. we're not very internationalised)
I did not find any tests to ctrl-c ctrl-v (looking for "i"gnore file tests) so none were added
I also could not find any relevant docs to update, I hope to get help with that
PR Description
Please check if the PR fulfills these requirements
go generate ./...
)