$ git clone -n https://src.koozali.org/smeserver/bglibs /var/lib/mock/dist-sme11-os-build-361-15155/root/chroot_tmpdir/scmroot/bglibs Cloning into '/var/lib/mock/dist-sme11-os-build-361-15155/root/chroot_tmpdir/scmroot/bglibs'... $ git fetch origin 2.0.4:KOJI_FETCH_HEAD fatal: couldn't find remote ref 2.0.4 $ git reset --hard 2.0.4 fatal: ambiguous argument '2.0.4': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'