[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recording the date at which a change was pushed to Savannah
From: |
Stefan Monnier |
Subject: |
Re: Recording the date at which a change was pushed to Savannah |
Date: |
Wed, 03 Dec 2014 16:10:30 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> IIRC when you do:
>>
>> git commit
>> git pull
>> <merge&commit>
>> git push
>>
>> The merge commit will put what was previously "the mainline" in the
>> "second" position, while your "git commit" will now appear as being on
>> "the mainline".
> That's why we recommend "git pull --rebase" in this case (and I
> actually pull.rebase = preserve in my .gitconfig).
There might also be a way to ask Git to generate the "merge commit" with
its two parent swapped.
> But in any case, no matter how the mainline became one, it is still
> _the_ mainline, right?
No, in the above example, the commit that was the head of the remote
branch before the "git push" (and was hence obviously on "the" mainline)
is not in "the" mainline after the "git push".
Stefan
- Re: Recording the date at which a change was pushed to Savannah, (continued)
- Re: Recording the date at which a change was pushed to Savannah, Stefan Monnier, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Yuri Khan, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Stefan Monnier, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Eli Zaretskii, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Stefan Monnier, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Eli Zaretskii, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Stefan Monnier, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Eli Zaretskii, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah,
Stefan Monnier <=
- Re: Recording the date at which a change was pushed to Savannah, Yuri Khan, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Eli Zaretskii, 2014/12/04
- Re: Recording the date at which a change was pushed to Savannah, Glenn Morris, 2014/12/03
- Re: Recording the date at which a change was pushed to Savannah, Stefan Monnier, 2014/12/03