$ git clone -n https://gitee.com/src-anolis-os/php.git /var/lib/mock/dist-an23-build-275692-64318/root/chroot_tmpdir/scmroot/php Cloning into '/var/lib/mock/dist-an23-build-275692-64318/root/chroot_tmpdir/scmroot/php'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/php * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dc87ab2 8.2.7