$ git clone -n git+ssh://git@gitee.com/src-anolis-os/redis.git /var/lib/mock/dist-an23-riscv64-build-115097-45882/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/dist-an23-riscv64-build-115097-45882/root/chroot_tmpdir/scmroot/redis'... $ git reset --hard origin/a23 HEAD is now at 3e80547 init from upstream