$ git clone -n https://gitee.com/fundawang/mariadb.git /var/lib/mock/dist-an23-build-211333-61917/root/chroot_tmpdir/scmroot/mariadb Cloning into '/var/lib/mock/dist-an23-build-211333-61917/root/chroot_tmpdir/scmroot/mariadb'... $ git reset --hard 2c3e0afcd3e4b85dd64bc14d40952e0a7f208a37 HEAD is now at 2c3e0af update patch