GitButler can not initialize workspace on empty repositories
Version
0.14.16
Operating System
macOS
Distribution Method
dmg (Mac OS - Apple Silicon)
Describe the issue
Dear gitbutler team, first of all THANK YOU! Love GitButler <3
Today I tried to clone a new repository and got this error:
Unhandled exception
A promise had an unhandled exception.
Error: Reference 'refs/heads/main' not found; class=Reference (4); code=UnbornBranch (-9)
It seems that when you create a new repo on github and you don't add e.g. a README or License, hence forcing a first commit gitbutler is not able to find the ref to the main branch.
The repo got cloned though, but gitbutler could not initialize the workspace.
So cloning entirely empty repositories does not seems to work.
Many thanks in advance, Reld.
How to reproduce (Optional)
- Create a new repository and do not add a README nor a license so the repo will be entirely empty.
- Go to git butler and try to clone the repo.
Expected behavior (Optional)
- Clone an empty repository as I would using git on the CLI
git clone [email protected]/.....
Relevant log output (Optional)
Thanks a lot for reporting!
I'd expect this to be fixed with the next major release of the application, which is "right around the corner".
Nice :) thank you and have a good one!