$ git clone -n https://gitee.com/src-anolis-os/ocaml-libvirt.git /var/lib/mock/dist-an23-build-236031-62801/root/chroot_tmpdir/scmroot/ocaml-libvirt Cloning into '/var/lib/mock/dist-an23-build-236031-62801/root/chroot_tmpdir/scmroot/ocaml-libvirt'... $ git reset --hard origin/a23 HEAD is now at fb35c2c Init from upstream