New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When not in git directory: "fatal: --local can only be used inside a git repository" #6491
Comments
same here |
same here! |
Look at all your plugins and look which one is calling |
Still there. But, based on @Shea690901's comment, in file '~/.oh-my-git/base.sh' change the line |
thx - but didnt work for me twodiefor |
There is no code in OMZ that runs |
I literally just fixed this by simply running: ...not sure when the fix was actually pushed, as this didn't fix the issue previously.... |
@stationstops miracle happened for me as well... |
Here is the commit that fixed the issue: arialdomartini/oh-my-git@a9fefe3 |
@ |
Whenever I press enter in a non-repo directory, I get the error:
"fatal: --local can only be used inside a git repository"
Teammates with same setup also have the issue:
oh-my-git: latest as of posting fd13327094d0ff2db3d713f21942f0419acb1dfb
oh-my-zsh: latest as of posting a7fb55c
OS: MacOS Sierra 10.12.6
git version 2.15.1
zsh 5.2 (x86_64-apple-darwin16.0)
arialdomartini/oh-my-git#109 (comment)
This issue fix was merged in oh-my-git (Im not sure how that dependency works for oh-my-zsh), but didn't solve the problem for me. Couldn't find equally relevant code in oh-my-zsh.
The text was updated successfully, but these errors were encountered: