$ git clone -n https://gitee.com/src-anolis-os/conntrack-tools.git /var/lib/mock/dist-lifsea8-build-75763-39262/root/chroot_tmpdir/scmroot/conntrack-tools Cloning into '/var/lib/mock/dist-lifsea8-build-75763-39262/root/chroot_tmpdir/scmroot/conntrack-tools'... $ git reset --hard origin/a8 HEAD is now at 3222d96 import conntrack-tools-1.4.4-10.el8.src.rpm