报错: fatal: git 1.7.2 or later required
使用git提交github工程的时候, 报错:
- Error: The requested URL returned error: 403 while accessing
- # https://github.com/user/repo.git/info/refs
- # fatal: HTTP request failed
查看官方的指南:
https://help.github.com/articles/https-cloning-errors
升级
增加ppa
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
如果本地已经安装过Git,可以使用升级命令:
sudo apt-get dist-upgrade