$ git clone -n https://gitee.com/src-opencloudos-rpms/opencloudos-tools /var/lib/mock/dist-oc9-build-56739-14865/root/chroot_tmpdir/scmroot/opencloudos-tools Cloning into '/var/lib/mock/dist-oc9-build-56739-14865/root/chroot_tmpdir/scmroot/opencloudos-tools'... $ 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 [...] -- [...]'