$ git clone -n https://gitee.com/src-opencloudos-rpms/java-comment-preprocessor.git /var/lib/mock/dist-oc8-build-69356-47116/root/chroot_tmpdir/scmroot/java-comment-preprocessor Cloning into '/var/lib/mock/dist-oc8-build-69356-47116/root/chroot_tmpdir/scmroot/java-comment-preprocessor'... $ git fetch origin 91c413969ad3a85b086ddbfdbb51677c7c14a332:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/java-comment-preprocessor * [new ref] 91c413969ad3a85b086ddbfdbb51677c7c14a332 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 91c4139 import java-comment-preprocessor-6.0.1-9.tl3