$ git clone -n https://gitee.com/src-anolis-os/ocaml-xml-light.git /var/lib/mock/dist-an7-build-61406-33930/root/chroot_tmpdir/scmroot/ocaml-xml-light Cloning into '/var/lib/mock/dist-an7-build-61406-33930/root/chroot_tmpdir/scmroot/ocaml-xml-light'... warning: You appear to have cloned an empty repository. $ git reset --hard origin/a7 fatal: ambiguous argument 'origin/a7': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'