$ git clone -n git+ssh://git@gitee.com/src-anolis-os/ndctl.git /var/lib/mock/dist-an23-riscv64-build-114719-45882/root/chroot_tmpdir/scmroot/ndctl Cloning into '/var/lib/mock/dist-an23-riscv64-build-114719-45882/root/chroot_tmpdir/scmroot/ndctl'... $ git reset --hard origin/a23 HEAD is now at 89ba8a0 Init package from upstream v73