$ git clone -n https://gitee.com/src-opencloudos-rpms/libsigcplusplus30 /var/lib/mock/dist-oc9-build-64333-16490/root/chroot_tmpdir/scmroot/libsigcplusplus30 Cloning into '/var/lib/mock/dist-oc9-build-64333-16490/root/chroot_tmpdir/scmroot/libsigcplusplus30'... $ git fetch origin oc9:KOJI_FETCH_HEAD fatal: couldn't find remote ref oc9 $ git reset --hard origin/oc9 fatal: ambiguous argument 'origin/oc9': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'