$ git clone -n https://gitee.com/src-opencloudos-rpms/samba /var/lib/mock/dist-oc8-dotnet-build-33496-10296/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-oc8-dotnet-build-33496-10296/root/chroot_tmpdir/scmroot/samba'... $ git reset --hard origin/oc8 HEAD is now at ca800b8 import samba-4.16.4-2.tl3