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

axoloti.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Linux install issue - certificates missing - Helpdesk - Axoloti Community

    axoloti.com | 6 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