gatling
gatling copied to clipboard
bad numeric config value 'updateInstead' for 'receive.denycurrentbranch'
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
:
- Added
deb http://ftp.us.debian.org/debian testing main contrib non-free
to/etc/apt/sources.list
-
apt-get update
-
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?
Hi, thanks your post was useful for me. Do you know in this case the minimal version for this ?