$ git clone -n https://gitee.com/mgb01105731/tomcat.git /var/lib/mock/dist-an23-build-93329-45458/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an23-build-93329-45458/root/chroot_tmpdir/scmroot/tomcat'... $ git reset --hard c268dc8f08f21a4ada67a43ed2976320c43e06db HEAD is now at c268dc8 Init upstream tomcat for anolis 23