$ git clone -n https://gitee.com/src-anolis-os/libnsl2.git /var/lib/mock/dist-an8.9-build-383028-71837/root/chroot_tmpdir/scmroot/libnsl2 Cloning into '/var/lib/mock/dist-an8.9-build-383028-71837/root/chroot_tmpdir/scmroot/libnsl2'... $ git reset --hard 07d54aedebc2ad5566315b4e4900530de21cfafe HEAD is now at 07d54ae import libnsl2-1.2.0-2.20180605git4a062cf.el8.src.rpm