$ git clone -n https://src.koozali.org/trevorb/smeserver-pungi /var/lib/mock/dist-sme11-build-1558-16857/root/chroot_tmpdir/smeserver-pungi Cloning into '/var/lib/mock/dist-sme11-build-1558-16857/root/chroot_tmpdir/smeserver-pungi'... $ 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 [...] -- [...]'