$ git clone -n https://src.koozali.org/smecontribs/smeserver-sogo /var/lib/mock/dist-smebuild-11-1191-16440/root/chroot_tmpdir/scmroot/smeserver-sogo Cloning into '/var/lib/mock/dist-smebuild-11-1191-16440/root/chroot_tmpdir/scmroot/smeserver-sogo'... $ git fetch origin latest:KOJI_FETCH_HEAD fatal: couldn't find remote ref latest $ git reset --hard latest fatal: ambiguous argument 'latest': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'