This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [wwwdocs] Recommend reviewing local changes before pushing them
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Jan 2020 16:00:39 +0100
- Subject: Re: [wwwdocs] Recommend reviewing local changes before pushing them
- References: <20200114133702.GA346366@redhat.com> <CAFiYyc2kvGf=gXkF3_m34BgHf34Zo7pEE6LXg6R6zVwLN-KxwA@mail.gmail.com> <20200114142824.GA348913@redhat.com>
On Jan 14 2020, Jonathan Wakely wrote:
> You can also just do "git log" and check which commits are more recent
> than the one shown as the upstream:
>
> $ git log
> commit 9e502f6deae9f821bd7079aad5f98a4f3bae15cf (HEAD -> master)
> Author: Jonathan Wakely <jwakely@redhat.com>
> Date: Tue Jan 14 13:34:02 2020 +0000
>
> Recommend reviewing local changes before pushing them
>
> commit 83f833b74f2dada4235f1b68b2e3cab5e5bba757
> Author: Jonathan Wakely <jwakely@redhat.com>
> Date: Tue Jan 14 13:16:12 2020 +0000
>
> Fix indentation of .ssh/config snippet
>
> commit 10463a79371068a0b32d8babefb9cf2ee409f4d1 (origin/master, origin/HEAD)
> Author: Christophe Lyon <christophe.lyon@linaro.org>
> Date: Tue Jan 14 13:48:19 2020 +0000
>
> [arm] Document -mpure-code support for v6m in gcc-10
>
> The one marked (origin/master, origin/HEAD) is the commit that is
> upstream, the ones before it are local.
Note that you need have log.decorate enabled in your config, or use git
log --decorate to enable the markers.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."