$ git clone -n https://gitee.com/src-anolis-os/libchamplain.git /var/lib/mock/dist-an8.7-build-268841-64025/root/chroot_tmpdir/scmroot/libchamplain Cloning into '/var/lib/mock/dist-an8.7-build-268841-64025/root/chroot_tmpdir/scmroot/libchamplain'... $ git reset --hard origin/a8 HEAD is now at 071a77e import libchamplain-0.12.16-2.el8.src.rpm