gatling icon indicating copy to clipboard operation
gatling copied to clipboard

bad numeric config value 'updateInstead' for 'receive.denycurrentbranch'

Open bhelx opened this issue 8 years ago • 1 comments

When doing git push for the first time, I was seeing this error:

fatal: bad numeric config value 'updateInstead' for 'receive.denycurrentbranch' in config: invalid unit
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

After googling around for a while I realized this was because my git version was too old for this git config value. Debian 8 had decided to install git 2.1.4. I had to use a testing repo to get the latest git version 2.11.0:

  1. Added deb http://ftp.us.debian.org/debian testing main contrib non-free to /etc/apt/sources.list
  2. apt-get update
  3. apt-get install git/testing

I thought I would let you guys know and if someone is searching for this error they may find this. Perhaps the minimum versions could get a special callout in the README?

bhelx avatar Feb 10 '17 05:02 bhelx

Hi, thanks your post was useful for me. Do you know in this case the minimal version for this ?

Montagnard avatar Apr 23 '18 13:04 Montagnard