On 14/05/13 16:02, Daniel Stenberg wrote:
> On Tue, 14 May 2013, Tim Rühsen wrote:
>
>> But now that I made all the requested changes to my working tree, how
>> do I make a diff to some commit back in time or to upstream ?
>> Especially with git format-patch ? Locally, I didn't create my own
>> branch, so i am on master. (I have to read a git book someday...)
>
> 'git commit --amend [files]'
>
> ... to update your (most recent) commit. Then you can git format-patch
> again and resend.
>
> But yes, working on stuff like this in your own local branch is often
> a better idea if you ask me...
You can convert this into a branch with:
 git branch branchname
 git checkout -B master origin/master

Then switch from one to the other with  git checkout <master/branchname>


Reply via email to