$ git clone -n https://gitee.com/src-anolis-os/setools.git /var/lib/mock/dist-an23-build-121682-46058/root/chroot_tmpdir/scmroot/setools Cloning into '/var/lib/mock/dist-an23-build-121682-46058/root/chroot_tmpdir/scmroot/setools'... $ git reset --hard origin/mgb01105731 fatal: ambiguous argument 'origin/mgb01105731': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'