$ git clone -n https://gitee.com/src-anolis-os/expat.git /var/lib/mock/dist-an23-build-119579-45961/root/chroot_tmpdir/scmroot/expat Cloning into '/var/lib/mock/dist-an23-build-119579-45961/root/chroot_tmpdir/scmroot/expat'... $ git reset --hard origin/a23 HEAD is now at eea2551 update to 2.4.8