$ git clone -n https://gitee.com/src-opencloudos-rpms/samba /var/lib/mock/dist-oc8-build-20117-4566/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc8-build-20117-4566/root/chroot_tmpdir/scmroot/samba'... $ git reset --hard origin/oc8 HEAD is now at 367b3c4 import samba-4.15.5-8.oc8_6