$ git clone -n https://gitee.com/src-opencloudos-rpms/sssd /var/lib/mock/dist-oc8-build-57115-15241/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-oc8-build-57115-15241/root/chroot_tmpdir/scmroot/sssd'... $ git fetch origin oc8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/sssd * [new branch] oc8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8f23a5e import sssd-2.8.2-3.tl3.1