Closed Gys closed 3 years ago
You need to be inside a git repository directory for git (and by extention bit) can do anything.
@karx1: I am. Is that not clear from my description? I mention twice that I am doing all this inside a folder with a .git subfolder, so effectively inside a repository.
Updating git worked for me
❯ bit --version
bit version v1.0.1
git version 2.30.1
This also happened to me. Currently on macOS Catalina, 10.15.7. I tried installing with both the shell script and with Homebrew.
My specs:
> bit --version
bit version v1.0.1
git version 2.17.0
I am currently in a Git folder:
> ls .git
HEAD config hooks objects
branches description info refs
The only thing that worked was upgrading to Git 2.30.1
.
This issue should now be fixed in version v1.0.2. Please let me know if you're still having problems. Also, consider donating if you're enjoying using Bit :)
use bit update
Describe the bug
I am in a directory with a .git folder but get:
fatal: not a git repository (or any of the parent directories): .git
To Reproduce
Steps to reproduce the behavior:
brew install bit-git
bit complete
answeredy
bit
ls .git
gives contents of git folder