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