$ git clone -n http://gitee.com/src-anolis-os/libomp.git /var/lib/mock/dist-an8.8-build-290825-65028/root/chroot_tmpdir/scmroot/libomp Cloning into '/var/lib/mock/dist-an8.8-build-290825-65028/root/chroot_tmpdir/scmroot/libomp'... warning: redirecting to https://gitee.com/src-anolis-os/libomp.git/ $ git fetch origin a8:KOJI_FETCH_HEAD warning: redirecting to https://gitee.com/src-anolis-os/libomp.git/ fatal: couldn't find remote ref a8 $ git reset --hard origin/a8 fatal: ambiguous argument 'origin/a8': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'