$ git clone -n https://gitee.com/src-anolis-os/samba.git /var/lib/mock/dist-an23-build-206544-61321/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an23-build-206544-61321/root/chroot_tmpdir/scmroot/samba'... $ git reset --hard 68b532538b5ab99df48d22112875db6bbec619fd HEAD is now at 68b5325 4.17.4