Closed dominicmeyer closed 10 months ago
Thanks for reporting the issue and sorry for the late response. Are you still experiencing this bug? Remote branches are retrieved from the GH API. It is possible that if this request fails for whatever reason, it defaults to think that the remote does not exist. I just pushed a change to errout if the request fails. Please reopen if the problem persists
Issue Description
bug report
Describe what happened (or what feature you want)
I wanted to create a pull request with octo, but for some reason there was a message displayed, that the current branch has no remote and if I wanted to push the current one. The current brach was pulled from gh and also did pushes right before, so it was clearly connected. After restarting nvim I was able to create the pr.
Describe what you expected to happen
The pr creation was successful most of the time, so I didn't expect it to fail. Of course restarting nvim isn't that big of a deal, but it's just not convenient.
How to reproduce it (as minimally and precisely as possible)
I had the bug before, but sadly I don't know how to recreate it yet.
Tell us your environment
Windows 11 gh version 2.29.0 octo latest
Anything else we need to know?
Maybe this is an issue of gh cli?