0

I failed with two different methods to clone a repository:

$ git clone -b e111110d83259361971e2a60598d22ee52de71d9 https://github.com/NBISweden/GAAS.git
Cloning into 'GAAS'...
fatal: Remote branch e111110d83259361971e2a60598d22ee52de71d9 not found in upstream origin
$ git clone -b e111110d83 https://github.com/NBISweden/GAAS.git
Cloning into 'GAAS'...
fatal: Remote branch e111110d83 not found in upstream origin

What did I miss?

user977828
  • 6,431
  • 14
  • 59
  • 107
  • 1
    There isn't a commit-specific clone in git. See [this question](https://stackoverflow.com/questions/26135216/why-isnt-there-a-git-clone-specific-commit-option). Instead, just `git clone ` then `git checkout e111110`. – Andy J Nov 11 '21 at 00:49

0 Answers0