Git clone from perso repo


if I want to clone the repo from someone on, and from his repo, take a specific head, is it possible?
Exemple, if I take a random repo in my exemple: git clone but from nbd I want the head called testing?

1 Like

In extent clone:

git remote add nbd
git fetch nbd
git checkout -b testingNBD nbd/testing
1 Like

weird that I got that error, I make a custom build usually without any problem. Do I need to do git clone before and after run git remote add nbd
in the buildroot?

git remote add nbd
fatal: not a git repository (or any parent up to mount point /run/media/perkel)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

and it worked

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.