$ git clone -n https://gitee.com/src-opencloudos-rpms/sssd.git /var/lib/mock/dist-oc8-build-67780-46479/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-oc8-build-67780-46479/root/chroot_tmpdir/scmroot/sssd'... $ git fetch origin 9bcd8c0b3d44716e32edaa95359eaae046012993:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sssd * [new ref] 9bcd8c0b3d44716e32edaa95359eaae046012993 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9bcd8c0 import sssd-2.9.1-4.tl3.5