$ git clone -n https://gitee.com/mgb01105731/redis.git /var/lib/mock/dist-an23-build-120160-45966/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/dist-an23-build-120160-45966/root/chroot_tmpdir/scmroot/redis'... $ git reset --hard 7f23653912ceae0f4981866cd8705e7f16942561 HEAD is now at 7f23653 update redis to 7.0.4