$ git clone -n https://gitee.com/src-opencloudos-rpms/raptor2.git /var/lib/mock/dist-oc8-build-123635-73054/root/chroot_tmpdir/scmroot/raptor2 Cloning into '/var/lib/mock/dist-oc8-build-123635-73054/root/chroot_tmpdir/scmroot/raptor2'... $ git fetch origin ffd220630249123e3a80d9953a6f3dd653f465fb:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/raptor2 * [new ref] ffd220630249123e3a80d9953a6f3dd653f465fb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ffd2206 import raptor2-2.0.15-17.tl3