$ git clone -n git+ssh://git@gitee.com/src-anolis-os/memcached.git /var/lib/mock/dist-an23-riscv64-build-115277-45891/root/chroot_tmpdir/scmroot/memcached Cloning into '/var/lib/mock/dist-an23-riscv64-build-115277-45891/root/chroot_tmpdir/scmroot/memcached'... $ git reset --hard origin/a23 HEAD is now at f19f32b Init upstream memcached for anolis 23