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