$ git clone -n https://gitee.com/src-anolis-os/expat /var/lib/mock/dist-an8_7-build-123915-46151/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-an8_7-build-123915-46151/root/chroot_tmpdir/scmroot/expat'... $ git reset --hard origin/a8 HEAD is now at f5d1f7c update to expat-2.2.5-8.el8_6.2.src.rpm