$ git clone -n https://gitee.com/src-anolis-os/mariadb.git /var/lib/mock/dist-an8.6-build-138605-51749/root/chroot_tmpdir/scmroot/mariadb Cloning into '/var/lib/mock/dist-an8.6-build-138605-51749/root/chroot_tmpdir/scmroot/mariadb'... $ git reset --hard 7c565f2c9df3b6b97e0ed315a6ed71a748c333e5 HEAD is now at 7c565f2 update to mariadb-5.5.68-1.el7.src.rpm