$ git clone -n https://gitee.com/mgb01105731/tomcat_1.git /var/lib/mock/dist-an23.2-build-410735-72746/root/chroot_tmpdir/scmroot/tomcat_1 Cloning into '/var/lib/mock/dist-an23.2-build-410735-72746/root/chroot_tmpdir/scmroot/tomcat_1'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/tomcat_1 * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e182968 update to 9.0.98