$ git clone -n https://gitee.com/src-anolis-epao/tee-primitives.git /var/lib/mock/dist-an8-epao-build-428894-73023/root/chroot_tmpdir/scmroot/tee-primitives Cloning into '/var/lib/mock/dist-an8-epao-build-428894-73023/root/chroot_tmpdir/scmroot/tee-primitives'... $ git fetch origin a8:KOJI_FETCH_HEAD 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 [...] -- [...]'