$ git clone -n https://gitee.com/opencloudos-stream/tomcatjss.git /var/lib/mock/dist-ocs23-build-127867-8684/root/chroot_tmpdir/scmroot/tomcatjss Cloning into '/var/lib/mock/dist-ocs23-build-127867-8684/root/chroot_tmpdir/scmroot/tomcatjss'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/tomcatjss * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9efd396 !2 Upgrade to upstream version 8.4.1 Merge pull request !2 from jackxjchen/master