We have integrated our Flare project with Git. However, whenever we do a pull request through Flare, we get the following error message:
Pulling local changes from remote...
Error occurred in LibGit2Sharp : 'HEAD' is not a valid branch name
The source control operation finished with warnings and/or errors. Press Close when you are done reviewing the messages.
In sourcetree, under Remotes we have Origin. Under Origin we have the HEAD and master listed. What do these mean and does it have anything to do with the error we are getting in Flare? We have contacted Flare, however, have not been able to resolve the issue.
I don't have direct experience of Flare but I would not expect to normally see a branch called HEAD under the remotes section. Master yes, but not HEAD. HEAD just means the latest commit on a given branch.
I would check you are working on master locally and remotely.
Thanks for the response Michael! We are working off the local copy of the master and pushing/pulling from the remote master. Do you know if it will break anything if I delete the head branch?
I also have this showing in source tree under description when updates are committed.
Master > Origin/Master > Origin/HEAD > commit description.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events