$ git clone -n https://gitee.com/src-anolis-test/samba.git /var/lib/mock/dist-an8.4-internal-build-79814-40797/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/dist-an8.4-internal-build-79814-40797/root/chroot_tmpdir/scmroot/samba'... $ git reset --hard origin/a8-temp-4.14.5-10.el8_5 HEAD is now at 3b40765 import samba-4.14.5-10.el8_5.src.rpm