On Wednesday, July 16, 2014 8:44:59 AM UTC+2, Taowei Luo wrote:
>
> When running git diff or git format-patch, we know we may get a more 
> simply patch by --minimal option.
>
> I also want to split the changes in a file to several patches. So I use 
> git add -e or git add -p or git add -i.
>
> My problem is I can't get these two things together. Say, using git add -e 
> to edit patches on the minimal changes of a file. (It seems the --minimal 
> is not a default option and not even an option for git add)
>
> Anyone has ideas about this?
>

I'm not sure what the question is here. Do you just want to have 
patches/diffs of the things you've staged? git diff --staged > patch oughta 
do that..  

-- 
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/d/optout.

Reply via email to