$ git clone -n https://gitee.com/fundawang/mariadb.git /var/lib/mock/dist-an23-build-261769-63887/root/chroot_tmpdir/scmroot/mariadb Cloning into '/var/lib/mock/dist-an23-build-261769-63887/root/chroot_tmpdir/scmroot/mariadb'... $ git reset --hard c5c3dcb48fc78f33f5098e3fd06a9f6e71db484a HEAD is now at c5c3dcb update