$ git clone -n http://git.inferitos.ru/rpms/libinput.git /var/lib/mock/inferit-9_3-bootstrap-build-21801-37055/root/chroot_tmpdir/scmroot/libinput Cloning into '/var/lib/mock/inferit-9_3-bootstrap-build-21801-37055/root/chroot_tmpdir/scmroot/libinput'... $ git fetch origin changed/i9c-beta/libinput-1.19.3-4.el9_2:KOJI_FETCH_HEAD fatal: couldn't find remote ref changed/i9c-beta/libinput-1.19.3-4.el9_2 $ git reset --hard changed/i9c-beta/libinput-1.19.3-4.el9_2 fatal: ambiguous argument 'changed/i9c-beta/libinput-1.19.3-4.el9_2': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'