On Wed, Mar 27, 2013 at 04:07:14PM -0400, Paul Smith wrote:

> So, I have a patch that was created with "git diff" (can't use
> format-patch in my situation).  If the patch deletes files, such as:
> then this file is just left in my workspace as an untracked file, and
> not added with "git add".  This is annoying.
> Is there a way to convince "git apply" to add new files to Git?

Do you pass the "--index" command-line option to `git apply`?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to