Skip to content
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

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

Open
bhelx opened this issue Feb 10, 2017 · 1 comment
Open

Comments

@bhelx
Copy link

bhelx commented Feb 10, 2017

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?

@Montagnard
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants