Git question: Rebasing a user branch

Bill Schmidt wschmidt@linux.ibm.com
Tue Feb 4 22:41:00 GMT 2020


On 2/4/20 4:31 PM, Andreas Schwab wrote:
> On Feb 04 2020, Bill Schmidt wrote:
>
>> wschmidt@marlin:~/newgcc/gcc/config/rs6000$ git push --dry-run
>> users/wschmidt +wschmidt/builtins
>> To git+ssh://gcc.gnu.org/git/gcc.git
>>   * [new branch]              wschmidt/builtins -> wschmidt/builtins
>>
>> Well, that's odd, why is it trying to create a new branch?
> You told it so, with the refspec you used.  Instead you want to push to
> users/wschmidt/builtins on the remote side,
> ie. +wschmidt/builtins:users/wschmidt/builtins.


Hm.  If I'm understanding you correctly, this still attempts to create a 
new branch:

wschmidt@marlin:~/newgcc/gcc/config/rs6000$ git push --dry-run 
users/wschmidt +wschmidt/builtins:users/wschmidt/builtins
To git+ssh://gcc.gnu.org/git/gcc.git
  * [new branch]              wschmidt/builtins -> users/wschmidt/builtins

I expect I've misunderstood, though.

Thanks!
Bill

>
> Andreas.
>



More information about the Gcc mailing list