$ git clone -n https://gitee.com/src-anolis-os/go-compilers.git /var/lib/mock/dist-an23.5-AImanager-build-528905-76907/root/chroot_tmpdir/scmroot/go-compilers Cloning into '/var/lib/mock/dist-an23.5-AImanager-build-528905-76907/root/chroot_tmpdir/scmroot/go-compilers'... $ git fetch origin a23.03:KOJI_FETCH_HEAD fatal: couldn't find remote ref a23.03 $ git reset --hard origin/a23.03 fatal: ambiguous argument 'origin/a23.03': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'