git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Can we make interactive add easier to use?
@ 2016-10-14 13:20 Robert Dailey
  2016-10-14 13:46 ` Matthieu Moy
  2016-10-14 19:12 ` Jeff King
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Dailey @ 2016-10-14 13:20 UTC (permalink / raw)
  To: Git

Normally when I use interactive add, I just want to add files to the
index via simple numbers, instead of typing paths. So I'll do this as
quick as I can:

1. Type `git add -i`
2. Press `u` after prompt appears
3. Press numbers for the files I want to add, ENTER key
4. ENTER key again to go back to main add -i menu
5. Press `q` to exit interactive add
6. Type `git commit`

This feels very tedious. Is there a simplified workflow for this? I
remember using a "git index" unofficial extension to git that let you
do a `git status` that showed numbers next to each item (including
untracked files!) and you could do `git add 1, 2, 3-5`, etc.

Thoughts? Even though this feels like I'm complaining, honestly I am
just consulting the experts here to see if I'm missing out on some
usability features. Thanks in advance!!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-14 19:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-14 13:20 Can we make interactive add easier to use? Robert Dailey
2016-10-14 13:46 ` Matthieu Moy
2016-10-14 19:12 ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).