$ git clone -n http://git.inferitos.ru/rpms/swift-lang /var/lib/mock/inferit-10_0-extras-build-88083-160558/root/chroot_tmpdir/scmroot/swift-lang Cloning into '/var/lib/mock/inferit-10_0-extras-build-88083-160558/root/chroot_tmpdir/scmroot/swift-lang'... $ git fetch origin changed/i10ce/swift-lang-6.0.1-1.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object be42ac1228d74d651853a0cce441a848f2e83e2a to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/swift-lang ! [new tag] changed/i10ce/swift-lang-6.0.1-1.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/swift-lang-6.0.1-1.el10 HEAD is now at e723047 import swift-lang-6.0.1-1.el10