$ git clone -n https://gitee.com/src-anolis-os/libxslt.git /var/lib/mock/dist-an23.3-build-414730-72844/root/chroot_tmpdir/scmroot/libxslt Cloning into '/var/lib/mock/dist-an23.3-build-414730-72844/root/chroot_tmpdir/scmroot/libxslt'... $ git fetch origin c3a5813577a954b57fd4c9bb4a3e18b00a479004:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/libxslt * [new ref] c3a5813577a954b57fd4c9bb4a3e18b00a479004 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c3a5813 Sync up CentOS stream libxsl-1.1.39-6