$ git clone -n https://gitee.com/src-opencloudos-rpms/samba.git /var/lib/mock/dist-oc8_6-updates-build-27082-8230/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc8_6-updates-build-27082-8230/root/chroot_tmpdir/scmroot/samba'... $ git reset --hard origin/oc8 HEAD is now at d9c4664 update 4.15.5-10