$ git clone -n https://gitee.com/bbrucezhang/texlive-base.git /var/lib/mock/dist-oc9-epol-build-166315-79765/root/chroot_tmpdir/scmroot/texlive-base Cloning into '/var/lib/mock/dist-oc9-epol-build-166315-79765/root/chroot_tmpdir/scmroot/texlive-base'... $ git fetch origin oc9-webui:KOJI_FETCH_HEAD fatal: couldn't find remote ref oc9-webui $ git reset --hard origin/oc9-webui fatal: ambiguous argument 'origin/oc9-webui': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'