Hi all—I want to preface this by saying I'm not a developer, but my company uses git for working collaboratively on text based reports (rather than, say, google docs). My understanding of the software is definitely limited, so forgive any forthcoming "dumb" questions.
I've gotten this error message quite regularly over the past month when I try to push commits from github desktop.
error: unable to push to unqualified destination: branch-name
The destination refspec neither matches an existing ref on the remote nor
begins with refs/, and we are unable to guess a prefix based on the source ref.
error: failed to push some commits to 'https://github.com/companyname/myrepo.git'
When I first encountered this, I read on another thread that it might be an issue of capitalization. I could publish a new branch online that had the "right" capitalization and it would push my commits fine then. Now, that's not working reliably. Importantly, I'm selecting the current branch on github desktop from the dropdown menu, so why does the capitalization not match what's been published online in the repo?
I'm at a loss and I have lost some work in the process which is super frustrating when no one else on my team is having this problem and I'm having to play catch up so regularly. Any advice is much appreciated.