$ git clone -n https://gitee.com/src-anolis-test/samba.git /var/lib/mock/dist-an7-updates-build-94924-44210/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an7-updates-build-94924-44210/root/chroot_tmpdir/scmroot/samba'... $ git reset --hard 4213249a311d0812824a6418a0fe6511cc2278e9 HEAD is now at 4213249 import samba-4.10.16-19.el7_9.src.rpm