$ git clone -n https://gitee.com/renbo02/anolis-389-ds-base.git /var/lib/mock/dist-an8.9-build-382595-71837/root/chroot_tmpdir/scmroot/anolis-389-ds-base Cloning into '/var/lib/mock/dist-an8.9-build-382595-71837/root/chroot_tmpdir/scmroot/anolis-389-ds-base'... $ 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 [...] -- [...]'