Jump to 'git add -i' patch command (5) directly

Posted by felixge on Stack Overflow See other posts from Stack Overflow or by felixge
Published on 2010-06-01T09:01:26Z Indexed on 2010/06/01 9:03 UTC
Read the original article Hit count: 180

Filed under:
|

How can I get "git add -i" to start up in patch mode directly without having to type "5" + Enter?

I know about "git add -p", but it's not the same as it doesn't show me a list of files to select from first.

This is very annoying because I'd like to jump between "git add -i" and "git commit" very quickly to turn my dirty tree into some nice looking commits.

© Stack Overflow or respective owner

Related posts about git

Related posts about scm