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