$ git clone -n https://gitee.com/fundawang/tomcat.git /var/lib/mock/dist-an23-build-249314-63333/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23-build-249314-63333/root/chroot_tmpdir/scmroot/tomcat'... $ git reset --hard 2cc84e0a165d5d9a78d899eabcdfa283dcc3c701 HEAD is now at 2cc84e0 9.0.73