[rtems commit] Merge branch 'master' of ssh://git.rtems.org/data/git/rtems

Joel Sherrill joel.sherrill at OARcorp.com
Thu Jul 19 13:04:29 UTC 2012


On 07/19/2012 03:29 AM, Cláudio Silva wrote:
> Hi,
>
> This is why it is advised to always specify the branches that you are pushing:
>
> git push upstream my_branch:master
>
> I think this explicit definition of branches on git push is always
> better, unless you are pushing a lot of branches at the same time.
>
Actually that was what I did.  This usage is described here:

http://wiki.rtems.org/wiki/index.php/Git_Committers#Committing

The problem was that I specified the wrong "my_branch" and it
didn't have any changes.

I had actually switched to the branch I was specifying as
my_branch:master. It was just wasn't the branch that actually
had my changes on it. It was a new one with no changes.

--joel

> Regards,
> Cláudio
>
> On Thu, Jul 19, 2012 at 8:02 AM, Thomas Dörfler
> <Thomas.Doerfler at embedded-brains.de>  wrote:
>> Sebastian,
>>
>> if this makes sense, can you add this info to the RTEMS Wiki?
>>
>> Thomas.
>>
>> On 19.07.2012 08:59, Sebastian Huber wrote:
>>> Hi,
>>>
>>> I think one of the most dangerous default settings in Git is the push
>>> strategy:
>>>
>>> You can specify what action you want to take in this case, and
>>> avoid seeing this message again, by configuring 'push.default' to:
>>>    'nothing'  : Do not push anything
>>>    'matching' : Push all matching branches (default)
>>>    'tracking' : Push the current branch to whatever it is tracking
>>>    'current'  : Push the current branch
>>>
>>> I set it now to 'current'.  The mistake from my last week was due to
>>> this default push setting.  You can always check that you push the right
>>> commits with "git status".
>>>
>>> On 07/18/2012 03:39 PM, Joel Sherrill wrote:
>>>> On 07/18/2012 12:50 AM, Thomas Doerfler wrote:
>>>>> Joel,
>>>>>
>>>>> just a note: These commit messages do not really look useful :-( We had
>>>>> that discussion before with different users, so please don't get me
>>>>> wrong...
>>>>>
>>>> I know. :(
>>>>
>>>> Apparently git generates them when you merge a branch which has
>>>> no changes on it.  That seems broken to me.
>>>>
>>>> I accidentally was on the wrong branch and couldn't figure out why
>>>> my changes (from another temporary branch) weren't showing up
>>>> on the master. The temporary branch I was on had no changes
>>>> and this is what got generated.
>>>>
>>>> The other cases were stupid user errors. This was also but why
>>>> would git generate a message when there was really nothing
>>>> to do?
>>>>
>>>> --joel
>>>>> wkr,
>>>>>
>>>>> Thomas.
>>>>>
>>>>> Am 17.07.2012 23:16, schrieb Joel Sherrill:
>>>>>> Module:    rtems
>>>>>> Branch:    master
>>>>>> Commit:    fac44e12519e401415af7989b80f8a80f7b7de0f
>>>>>> Changeset:
>>>>>> http://git.rtems.org/rtems/commit/?id=fac44e12519e401415af7989b80f8a80f7b7de0f
>>>>>>
>>>>>>
>>>>>> Author:    Joel Sherrill<joel.sherrill at oarcorp.com>
>>>>>> Date:      Mon Jul  9 11:56:40 2012 -0500
>>>>>>
>>>>>> Merge branch 'master' of ssh://git.rtems.org/data/git/rtems
>>>>>>
>>>>>> ---
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> rtems-vc mailing list
>>>>>> rtems-vc at rtems.org
>>>>>> http://www.rtems.org/mailman/listinfo/rtems-vc
>>>>>>
>>>>
>>>
>>
>> --
>>
>> --------------------------------------------
>> Embedded Brains GmbH
>> Thomas Doerfler        Obere Lagerstrasse 30
>> D-82178 Puchheim       Germany
>> email: Thomas.Doerfler at embedded-brains.de
>> Phone: +49-89-18908079-2
>> Fax:   +49-89-18908079-9
>> _______________________________________________
>> rtems-devel mailing list
>> rtems-devel at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-devel
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel


-- 
Joel Sherrill, Ph.D.             Director of Research&   Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
     Support Available             (256) 722-9985


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20120719/9ebf638a/attachment-0001.html>


More information about the devel mailing list