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