First let me make a confession, I am new to Git and GitHub. I am using the GitHub Desktop to create a simple branch but keep getting the "Cannot publish unborn HEAD" under the Publisher branch section. Can someone please help and baby steps would be much appreciated. BTW, I did spend substantial amount of time searching on Google and other places but cannot figure it out.
Could you please describe your situation a bit more? Is this a repository that already exists on GitHub.com that you have cloned to your new machine or is this a new repository? Is the branch that you're creating a new branch off of your master branch?
The solution for me was simple. You have to add some text in the "Summary" area (lower left hand corner of Github desktop GUI). Then you can publish changes.
Adding text doesn't work , when I click publish I get "Cannot Sync" You currently aren't on any branch. Switch to a branch to sync.
If I switch to a branch the head is lost.
I am having the same issue as well. I am unable to create a new branch using the desktop.
I am also new to Git/GitHub and I am using an Enterprise GitHub. I created the repository on my Private/Personal Org.
I will also note that I had a working repo in another ORG but when I tried to add this test repo it corrupted or confused the original ones name.
The first Report should show P100/AIX and when I click Explore files it does open the AIX file folders
Let me know if you need other details @that-pat.
Are you getting the "Cannot Publish unborn HEAD" error message as well? I don't see it in your screenshots, but I might be mistaken. If you're not getting that exact error, it would be best that we start another thread in the forum as it is likely a different problem than the original poster's error.
JayemN I had the same issue. For me it came because I had initialized and published the repo without making a commit, then a colleague made changes and I was unable to pull her changes.
The solution that worked for me was deleting the entire repo locally, then cloning what was on github into its place.