$ git clone -n https://gitee.com/src-anolis-test/libpcap.git /var/lib/mock/dist-an8.4-build-56224-28072/root/chroot_tmpdir/scmroot/libpcap Cloning into '/var/lib/mock/dist-an8.4-build-56224-28072/root/chroot_tmpdir/scmroot/libpcap'... $ git reset --hard origin/a8-temp-1.9.1-5.an8 HEAD is now at 1f298c9 import libpcap-1.9.1-5.an8.src.rpm