$ git clone -n https://gitee.com/src-anolis-os/libguestfs-winsupport.git /var/lib/mock/dist-an8.8-build-279034-64448/root/chroot_tmpdir/scmroot/libguestfs-winsupport Cloning into '/var/lib/mock/dist-an8.8-build-279034-64448/root/chroot_tmpdir/scmroot/libguestfs-winsupport'... $ 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 [...] -- [...]'