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