$ git clone -n https://gitee.com/opencloudos-stream/tomcat.git /var/lib/mock/dist-ocs23-build-127836-8684/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-ocs23-build-127836-8684/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 846bb9b !1 update to apache-tomcat-9.0.82 Merge pull request !1 from doriscchao/master