incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <...@adobe.com>
Subject Re: marking pull request committer correctly
Date Wed, 10 Oct 2012 20:25:14 GMT
Yeh I use 

Git checkout -b somebranch name remotes/REMOTENAME/REMOTEBRANCH

On 10/10/12 12:24 PM, "Michal Mocny" <mmocny@chromium.org> wrote:

>I was surprised that those instructions worked until I read what git
>checkout NAME/branch does.
>
>I found this:
>http://stackoverflow.com/questions/1783405/git-checkout-remote-branch
>which
>advises the syntax:
>
>git checkout -b branch NAME/branch
>
>which saves one command, I think.
>
>Either way, I am not sure how to avoid adding the remote in the first
>place.
>
>
>On Wed, Oct 10, 2012 at 2:58 PM, Andrew Grieve <agrieve@chromium.org>
>wrote:
>
>> Interesting point you bring up.
>>
>> According to:
>>
>> 
>>http://stackoverflow.com/questions/12296255/git-pull-rebase-changes-the-c
>>ommiter-name-to-my-name
>>
>> Doing a rebase will update the committer field. I like to do these
>>anyways
>> since it will avoid the extra "Merge blah blah" commit in the history.
>>
>> I don't know how to do this without using a remote though...
>> git remote add NAME URL
>> git checkout NAME/branch
>> git checkout -b mybranch
>> git rebase master
>> git checkout master
>> git merge --ff-only mybranch
>> git push apache master
>>
>> Anyone else have ideas?
>>
>>
>>
>> On Wed, Oct 10, 2012 at 11:27 AM, Patrick Mueller <pmuellr@gmail.com>
>> wrote:
>>
>> > On Wed, Oct 10, 2012 at 11:21 AM, Patrick Mueller <pmuellr@gmail.com>
>> > wrote:
>> >
>> > > wops.  Made a boo-boo.
>> > >
>> > >
>> > Another interesting tidbit - the email on the commits list was
>>addressed
>> as
>> > from me, which is helpful.  And confusing, I guess.  :-)
>> >
>> >     http://markmail.org/message/rvt2sm6pszgbtpli
>> >
>> > --
>> > Patrick Mueller
>> > http://muellerware.org
>> >
>>


Mime
View raw message