-
Notifications
You must be signed in to change notification settings - Fork 296
git: error: unknown option no-edit' or
config or
local`
#1071
Comments
I don't know which minimum version is required either. =p |
no-edit' or
config`
I thought which -a git
git --version
git config user.name |
Never mind my previous message. The command that's causing the error is: |
Thank you for the answer! Cause brew uses git to fetch git |
I thought such a doctor check already existed. I remember seeing it just yesterday. Might just have to change the minimum required version. |
@tulindanil Please report |
Your version of git is too old (but we already knew that). |
Are you sure? It shouldn't. It's a bug if it does.
|
It would be helpful I think to run |
It is my fault that I did not launch that command $ brew doctor
...
Warning: An outdated version of Git was detected in your PATH.
Git 1.7.10 or newer is required to perform checkouts over HTTPS from GitHub.
Please upgrade: brew install git
...
And my git is really dummy $ brew install git -v
==> Tapping homebrew/dupes
git clone https://github.com/Homebrew/homebrew-dupes /home-local/gratom/satom12/.linuxbrew/Library/Taps/homebrew/homebrew-dupes --config core.autocrlf=false --depth=1
error: unknown option `config'
...
Error: Failure while executing: git clone https://github.com/Homebrew/homebrew-dupes /home-local/gratom/satom12/.linuxbrew/Library/Taps/homebrew/homebrew-dupes --config core.autocrlf=false --depth=1 Thank you very much, you are awesome! |
I want to figure out why your
|
You can also try |
|
I can reproduce this bug on CentOS 6 with git 1.7.1.
|
There isn't a |
Now that I can reproduce this bug, I'll work on figuring it out.
The tapping logic is trying to tap due to an optional dependency, even though it won't be installed. |
Try brew install patchelf
brew install zlib
brew install binutils
brew install linux-headers
brew install glibc
brew install xz
brew install gmp
brew install gpatch
brew install mpfr
brew install libmpc
brew install isl
brew install gcc
brew install makedepend
brew install openssl
brew install pkg-config
brew install curl
brew install expat
brew install git |
@ilovezfs Hi, Joe. When installing |
Related:
I'm less worried about this error. In fact, I'm just fine with the current behaviour. |
I think this issue will be resolved one day by creating a statically-linked-git formula following the guides from here. |
Does anyone know whether the |
Except that I never understood why |
See Homebrew/brew#92 |
As for |
Can we close this issue since we have the |
no-edit' or
config`no-edit' or
config or
local`
I had similar problem, when I tried to upgrade from linuxbrew git 2.8 to 2.8.2 I got following error
The solution for me is to remove git 1.7.1 from CenOS but I am surprised to see this problem as I have linuxbrew git comes first in my $PATH.
|
Hi, Nija. The workaround for your issue is PATH=`brew --prefix git`/bin:$PATH brew upgrade git It needs a proper fix. |
I have git 1.7.1
I try to
or
$ brew update error: unknown option `no-edit'
That mistakes about the age of my git's version, but I can't find out what version is better to use
Under some circumstances I can't use cutting-edge 2.* versions :(
The text was updated successfully, but these errors were encountered: