$ git clone -n https://gitee.com/src-anolis-os/tomcat.git /var/lib/mock/dist-an7_9-updates-build-137003-50417/root/chroot_tmpdir/scmroot/tomcat Cloning into '/var/lib/mock/dist-an7_9-updates-build-137003-50417/root/chroot_tmpdir/scmroot/tomcat'... $ git reset --hard 870d9df830a5354f0eaf3b16be8837ce315d1f3f HEAD is now at 870d9df !1 update version to errata Merge pull request !1 from xzyang/a7