Re:Git 2.0 release notes
by doidydoidy on Wednesday March 12, 2014 @11:29PM
(#7389908)
Like it says in the man page, git add -p "effectively runs add --interactive, but bypasses the initial command menu and directly jumps to the patch subcommand". Interactive mode does support adding untracked files.
[ Parent
| on HN ]
Re:Git 2.0 release notes
by lobster_johnson on Thursday March 13, 2014 @01:05AM
(#7390126)
Not what I'm asking. "add -p" will offer deletions, but it should also offer to add untracked files, essentially showing a diff with all lines added (with an empty file as the base).
"add -p --all some_untracked_file" does nothing, "--interactive" does something completely different; a menu system, not a "yes/no/etc." patch prompt.