$ git clone -n https://gitee.com/src-opencloudos-rpms/sssd.git /var/lib/mock/dist-oc8-build-100172-63336/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-oc8-build-100172-63336/root/chroot_tmpdir/scmroot/sssd'... $ git fetch origin f82cef6207d0858e4abd2d5e6be1d654dfa4dad1:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sssd * [new ref] f82cef6207d0858e4abd2d5e6be1d654dfa4dad1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f82cef6 import sssd-2.9.4-4.tl3