$ git clone -n https://gitee.com/src-opencloudos-rpms/sssd /var/lib/mock/dist-oc8-build-40309-14124/root/chroot_tmpdir/scmroot/sssd Cloning into '/var/lib/mock/dist-oc8-build-40309-14124/root/chroot_tmpdir/scmroot/sssd'... $ git reset --hard origin/oc8 HEAD is now at 54bcb07 Rebuild