$ git clone -n git+ssh://git@gitee.com/src-anolis-os/net-tools.git /var/lib/mock/dist-an23-riscv64-build-113442-45879/root/chroot_tmpdir/scmroot/net-tools Cloning into '/var/lib/mock/dist-an23-riscv64-build-113442-45879/root/chroot_tmpdir/scmroot/net-tools'... $ git reset --hard origin/a23 HEAD is now at 960b792 init from upstream 2.10