org.eclipse.jgit.api.errors.NoHeadException: HEAD required to stash local changes

axoloti.com | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Linux install issue - certificates missing - Helpdesk - Axoloti Community

    axoloti.com | 5 months ago
    org.eclipse.jgit.api.errors.NoHeadException: HEAD required to stash local changes

    Root Cause Analysis

    1. org.eclipse.jgit.api.errors.NoHeadException

      HEAD required to stash local changes

      at org.eclipse.jgit.api.StashCreateCommand.getHead()
    2. JGit - Core
      StashCreateCommand.call
      1. org.eclipse.jgit.api.StashCreateCommand.getHead(StashCreateCommand.java:225)
      2. org.eclipse.jgit.api.StashCreateCommand.call(StashCreateCommand.java:242)
      2 frames
    3. axoloti.utils
      AxoGitLibrary.upgrade
      1. axoloti.utils.AxoGitLibrary.createStash(AxoGitLibrary.java:247)
      2. axoloti.utils.AxoGitLibrary.upgrade(AxoGitLibrary.java:199)
      2 frames