$ git clone -n https://gitee.com/happy_orange/python-joblib.git /var/lib/mock/dist-an8_8-el9-build-174539-59029/root/chroot_tmpdir/scmroot/python-joblib Cloning into '/var/lib/mock/dist-an8_8-el9-build-174539-59029/root/chroot_tmpdir/scmroot/python-joblib'... $ git reset --hard origin/8 fatal: ambiguous argument 'origin/8': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'