$ git clone -n git+ssh://git@gitee.com/src-anolis-os/upower.git /var/lib/mock/dist-an23-riscv64-build-114780-45882/root/chroot_tmpdir/scmroot/upower Cloning into '/var/lib/mock/dist-an23-riscv64-build-114780-45882/root/chroot_tmpdir/scmroot/upower'... $ git reset --hard origin/a23 HEAD is now at 6102549 Init from upstream version 0.99.17