$ git clone -n https://gitee.com/src-anolis-os/xdp-tools.git /var/lib/mock/dist-an8-build-63699-35718/root/chroot_tmpdir/scmroot/xdp-tools Cloning into '/var/lib/mock/dist-an8-build-63699-35718/root/chroot_tmpdir/scmroot/xdp-tools'... $ git reset --hard origin/a8 HEAD is now at 1e128f7 update to xdp-tools-1.2.0-1.el8