$ git clone -n http://git.inferitos.ru/rpms/perl-File-TreeCreate.git /var/lib/mock/inferit-9-extras-build-20172-32816/root/chroot_tmpdir/scmroot/perl-File-TreeCreate Cloning into '/var/lib/mock/inferit-9-extras-build-20172-32816/root/chroot_tmpdir/scmroot/perl-File-TreeCreate'... $ git fetch origin 3bf68d5:KOJI_FETCH_HEAD fatal: couldn't find remote ref 3bf68d5 $ git reset --hard 3bf68d5 HEAD is now at 3bf68d5 import perl-File-TreeCreate-0.0.1-5.el9