[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature br
From: |
Eli Zaretskii |
Subject: |
Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch] |
Date: |
Fri, 17 Jan 2025 14:52:32 +0200 |
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Fri, 17 Jan 2025 04:58:10 -0500
> Cc: emacs-devel@gnu.org, pipcet@protonmail.com, gerd.moellmann@gmail.com,
> yandros@gmail.com, ofv@wanadoo.es
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> git checkout scratch/igc
> >> git branch --set-upstream-to=feature/igc
> >> git branch -m feature/igc
> >
> > This doesn't work:
>
> This worked for me:
>
> git fetch
> git checkout scratch/igc
> git branch --set-upstream-to=origin/feature/igc
> git branch -m feature/igc
I tried "git fetch" after getting the error, and it didn't help.
Here's the transcript:
$ git fetch
$ git branch --set-upstream-to=feature/igc
error: the requested upstream branch 'feature/igc' does not exist
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
$ git checkout scratch/igc
Already on 'scratch/igc'
Your branch is up-to-date with 'origin/scratch/igc'.
$ git branch --set-upstream-to=feature/igc
error: the requested upstream branch 'feature/igc' does not exist
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
- Re: scratch/igc as a feature branch [was: Re: igc: trying to chase a crash], Stefan Kangas, 2025/01/12
- Re: scratch/igc as a feature branch [was: Re: igc: trying to chase a crash], Pip Cet, 2025/01/12
- Re: scratch/igc as a feature branch [was: Re: igc: trying to chase a crash], Stefan Kangas, 2025/01/12
- Re: scratch/igc as a feature branch [was: Re: igc: trying to chase a crash], Andrea Corallo, 2025/01/15
- Re: scratch/igc as a feature branch [was: Re: igc: trying to chase a crash], Stefan Kangas, 2025/01/15
- scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Andrea Corallo, 2025/01/16
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Eli Zaretskii, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Stefan Kangas, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Gerd Möllmann, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch],
Eli Zaretskii <=
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Stefan Kangas, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Eli Zaretskii, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Michael Albinus, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Gerd Möllmann, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Michael Albinus, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Gerd Möllmann, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Gerd Möllmann, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Michael Albinus, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Gerd Möllmann, 2025/01/17
- Re: scratch/igc renamed ad feature/igc [was: scratch/igc as a feature branch], Michael Albinus, 2025/01/17