[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: |
Eli Zaretskii |
Subject: |
Re: Recording the date at which a change was pushed to Savannah |
Date: |
Wed, 03 Dec 2014 22:24:58 +0200 |
> From: Stefan Monnier <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Wed, 03 Dec 2014 14:34:13 -0500
>
> >> > You can see the "mainline" in Git with "log --graph" or in Emacs with
> >> > "C-x v L".
> >> No, that's *a* mainline. It won't always agree with your idea of what
> >> is *the* mainline.
> > In what way and under which circumstances might that happen?
>
> 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).
But in any case, no matter how the mainline became one, it is still
_the_ mainline, right?
- 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 <=
- 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, 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