In myprevious post, I talked about --patch option.
If you are using--patch
(or-p
that is the short version) quite a lot like me, you may be happy to discover the following configuration settinginteractive.singleKey
In interactive commands, allow the user to provide one-letter input with a single key (i.e., without hitting enter)
More information here:
https://git-scm.com/docs/git-config#Documentation/git-config.txt-interactivesingleKey
Here is how to activate it
git config--global interactive.singleKeytrue
Then next time, you will use patch mode, you won't need to press enter after choosing among y,n,a,q,d,e
Top comments(0)
Subscribe
For further actions, you may consider blocking this person and/orreporting abuse