$ git clone -n http://git.inferitos.ru/rpms/kernel /var/lib/mock/inferit-10_0-bootstrap-build-el10_0-100321-186606/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/inferit-10_0-bootstrap-build-el10_0-100321-186606/root/chroot_tmpdir/scmroot/kernel'... $ git fetch origin changed/i10-beta/kernel-6.12.0-55.6.1.el10_0:KOJI_FETCH_HEAD fatal: couldn't find remote ref changed/i10-beta/kernel-6.12.0-55.6.1.el10_0 $ git reset --hard changed/i10-beta/kernel-6.12.0-55.6.1.el10_0 fatal: ambiguous argument 'changed/i10-beta/kernel-6.12.0-55.6.1.el10_0': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'