$ git clone -n https://gitee.com/src-opencloudos-rpms/sssd.git /var/lib/mock/dist-oc8-build-38439-12462/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-oc8-build-38439-12462/root/chroot_tmpdir/scmroot/sssd'... $ git reset --hard origin/oc8 HEAD is now at 3e89a8e import sssd-2.8.2-2.tl3