$ git clone -n https://gitee.com/src-opencloudos-rpms/samba.git /var/lib/mock/dist-oc8-build-36915-12041/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc8-build-36915-12041/root/chroot_tmpdir/scmroot/samba'... $ git reset --hard origin/oc8 HEAD is now at 79c014e import samba-4.16.4-6.oc8