$ git clone -n https://gitee.com/ywyw22/redis /var/lib/mock/dist-an8.6-build-138642-51749/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/dist-an8.6-build-138642-51749/root/chroot_tmpdir/scmroot/redis'... $ git reset --hard bca6bda9d2f1cb424afb98fc4e54800880b30802 HEAD is now at bca6bda update redis to 7.0.4