You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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.
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.