This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Git question: Rebasing a user branch
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Bill Schmidt <wschmidt at linux dot ibm dot com>
- Cc: "gcc\@gcc.gnu.org" <gcc at gcc dot gnu dot org>
- Date: Wed, 05 Feb 2020 00:19:57 +0100
- Subject: Re: Git question: Rebasing a user branch
- References: <84b72cf1-ac02-3a1f-fd2a-7dc5c448fedd@linux.ibm.com>
On Feb 04 2020, Bill Schmidt wrote:
> Looks fine to me, so lets try the force push:
>
> wschmidt@marlin:~/newgcc/gcc/config/rs6000$ git push --dry-run
> users/wschmidt +wschmidt/builtins
It looks like the leading + on the refspec suppresses matching against
the default push refspec. I think that's a bug in git. If you use the
-f option and remove + from the refspec, it should work as expected.
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."