$ git clone -n http://git.inferitos.ru/rpms/jss.git /var/lib/mock/inferit-9_4-bootstrap-build-37043-74501/root/chroot_tmpdir/scmroot/jss Cloning into '/var/lib/mock/inferit-9_4-bootstrap-build-37043-74501/root/chroot_tmpdir/scmroot/jss'... $ git fetch origin ae4eb0b:KOJI_FETCH_HEAD fatal: couldn't find remote ref ae4eb0b $ git reset --hard ae4eb0b fatal: ambiguous argument 'ae4eb0b': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'