$ git clone -n https://gitee.com/fundawang/tomcat.git /var/lib/mock/dist-an23-build-261108-63867/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23-build-261108-63867/root/chroot_tmpdir/scmroot/tomcat'... $ git reset --hard 220b25e347457ad7b22816131a83eda965c10940 HEAD is now at 220b25e 9.0.75