$ git clone -n https://gitee.com/src-anolis-os/tcpdump.git /var/lib/mock/dist-an8-build-60046-33068/root/chroot_tmpdir/scmroot/tcpdump Cloning into '/var/lib/mock/dist-an8-build-60046-33068/root/chroot_tmpdir/scmroot/tcpdump'... $ git reset --hard origin/a8 HEAD is now at ed7973b update to tcpdump-4.9.3-2.el8