$ git clone -n https://gitee.com/fundawang/tomcat.git /var/lib/mock/dist-an23-build-255469-63653/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23-build-255469-63653/root/chroot_tmpdir/scmroot/tomcat'... $ git reset --hard 31a72ad8fca6f2e844cf6e3b285bb477847f7d1e HEAD is now at 31a72ad 9.0.74