$ git clone -n https://gitee.com/src-anolis-os/curl.git /var/lib/mock/dist-an23.3-build-471067-74068/root/chroot_tmpdir/scmroot/curl Cloning into '/var/lib/mock/dist-an23.3-build-471067-74068/root/chroot_tmpdir/scmroot/curl'... $ git fetch origin a23.3:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/curl * [new branch] a23.3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3090c95 fix cve