$ git clone -n https://gitee.com/fundawang/tomcat.git /var/lib/mock/dist-an23-build-324912-68673/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23-build-324912-68673/root/chroot_tmpdir/scmroot/tomcat'... $ git fetch origin b25ad48621ace66a2b7b55b9696e111e5787f9f7:KOJI_FETCH_HEAD From https://gitee.com/fundawang/tomcat * [new ref] b25ad48621ace66a2b7b55b9696e111e5787f9f7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b25ad48 9.0.82