$ git clone -n https://gitee.com/opencloudos-stream/tomcat.git /var/lib/mock/dist-ocs23-base-build-305029-30929/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-ocs23-base-build-305029-30929/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/tomcat * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d344d25 !8 Upgrade to upstream version 9.0.98 Merge pull request !8 from jackxjchen/master