Re: '2021Q3' does not appear to be a git repository

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 17 Jul 2021 21:30:39 +0200
On 17 Jul 2021, at 18:27, Thierry Thomas <thierry_at_FreeBSD.org> wrote:
> 
> I’d like to MFH some commits, but I cannot get the branch 2021Q3.
> 
> Trying `git checkout 2021Q3' gives:
> error: pathspec '2021Q3' did not match any file(s) known to git
> 
> No more success with `git fetch 2021Q3':
> fatal: '2021Q3' does not appear to be a git repository
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> 
> I have no problem with the main branch. For info:
> $ git remote -v
> origin  https://git.freebsd.org/ports.git (fetch)
> origin  git_at_gitrepo.freebsd.org:ports.git (push)

Try "git fetch origin" first, and then you should see the 2021Q3 branch
(note: it is *not* a remote!) appear:

% git branch -r
  origin/2014Q1
  origin/2014Q2
  origin/2014Q3
  origin/2014Q4
  origin/2015Q1
  origin/2015Q2
  origin/2015Q3
  origin/2015Q4
  origin/2016Q1
  origin/2016Q2
  origin/2016Q3
  origin/2016Q4
  origin/2017Q1
  origin/2017Q2
  origin/2017Q3
  origin/2017Q4
  origin/2018Q1
  origin/2018Q2
  origin/2018Q3
  origin/2018Q4
  origin/2019Q1
  origin/2019Q2
  origin/2019Q3
  origin/2019Q4
  origin/2020Q1
  origin/2020Q2
  origin/2020Q3
  origin/2020Q4
  origin/2021Q1
  origin/2021Q2
  origin/2021Q3
  origin/HEAD -> origin/main
  origin/main

-Dimitry


Received on Sat Jul 17 2021 - 19:30:39 UTC

Original text of this message