$ git clone -n https://gitee.com/src-opencloudos-rpms/sssd /var/lib/mock/dist-oc8-build-31756-9241/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-oc8-build-31756-9241/root/chroot_tmpdir/scmroot/sssd'... $ git reset --hard origin/oc8 HEAD is now at 862e7c5 import sssd-2.7.3-4.oc8.1