On Tue, Jul 24, 2012 at 7:53 PM, Thomas Ferris Nicolaisen
<tfn...@gmail.com> wrote:
> On Tuesday, July 24, 2012 7:05:14 AM UTC+2, lei yang wrote:
>>
>> how to?
>>
>
> If you want to format-patch for example the last two commits on branch B,
> this should do it:
>
> git format-patch B~2..B
>


Yes I know this, but I don't know how to fromat it with commit without
switching to B

eg: git format-patch commit1..commit2,

but How could I could I format branch B's?


> The dot-dot (..) notation specifies a range from B-minus-two to B-head.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/git-users/-/T-UD6NjibKEJ.
> To post to this group, send email to git-users@googlegroups.com.
> To unsubscribe from this group, send email to
> git-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/git-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to