$ git clone -n https://gitee.com/mgb01105731/redis.git /var/lib/mock/dist-an23-build-118732-45957/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/dist-an23-build-118732-45957/root/chroot_tmpdir/scmroot/redis'... $ git reset --hard b425ef1a196a8ab73f01b4e9d21993ddd76b74c5 HEAD is now at b425ef1 update redis to 7.0.4