Skip to content

Git rebase throws error when applying rebase #534

@chicken-suop

Description

@chicken-suop

When I use git rebase -i `git merge-base HEAD master` --rebase-merges and apply the rebase I get this error message repeated for each commit, even though it doesn't block the rebase:

JIRA prepare commit msg > done
JIRA prepare commit msg > start
JIRA prepare commit msg > Error: Command failed: git --git-dir="/Volumes/SourceCode/myrepo/.git" symbolic-ref --short HEAD
fatal: ref HEAD is not a symbolic ref

Running this in terminal succeeds:

$ git --git-dir="/Volumes/SourceCode/myrepo/.git" symbolic-ref --short HEAD
develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions