$ git clone -n https://gitee.com/src-anolis-os/tcpdump.git /var/lib/mock/dist-an23-build-274070-64220/root/chroot_tmpdir/scmroot/tcpdump Cloning into '/var/lib/mock/dist-an23-build-274070-64220/root/chroot_tmpdir/scmroot/tcpdump'... $ git reset --hard origin/a23 HEAD is now at a952d59 init upstream from version 4.99.4 $ git lfs pull