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