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