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