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