Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Christophe Colombier
Christophe Colombier

Posted on

     

git config: interactive.singleKey

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
Enter fullscreen modeExit fullscreen mode

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
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

Smiling person, father of two, Husband, Senior Developer/Architect (in that exact order, it's important)Experience in development since 2004Linux user and advocate since 2001
  • Location
    Villeurbanne, France
  • Education
    Arts et Métiers
  • Work
    VP Technology
  • Joined

More fromChristophe Colombier

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp