$ git clone -n https://gitee.com/src-opencloudos-rpms/swtpm.git /var/lib/mock/dist-oc9-build-48203-14592/root/chroot_tmpdir/scmroot/swtpm Cloning into '/var/lib/mock/dist-oc9-build-48203-14592/root/chroot_tmpdir/scmroot/swtpm'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/swtpm * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 49cd228 import swtpm-0.8.0-3.tl4