git - 如何在 Ubuntu 上更新 git 客户端?

标签 git ubuntu heroku

每当我使用 git命令,我得到这个警告:

你的 git 版本是 1.9.1。其中存在严重的安全漏洞。
更多信息在这里:https://blog.heroku.com/archives/2014/12/23/update_your_git_clients_on_windows_and_os_x


但我有 Ubuntu。我试过运行 sudo apt-get update然后 sudo apt-get upgrade ,但它不会更新 git 客户端版本。

最佳答案

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git

关于git - 如何在 Ubuntu 上更新 git 客户端?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27737745/

相关文章:

regex - 如何在 Nginx 中提供嵌套项目

Github 提交语法以链接 pull 请求/问题

css - 自定义字体未加载到带有 Rails 管道的 heroku 上

git - "Could not read from remote repo"...但我是所有者?

git - GIT 可以像 SVN 一样运行吗?

linux - 如何检查用户是否登录了更多天?

c - : sending UDP packet using Sendto() got "message too long"如何解决

python - 如何使用 Python 检测 Ubuntu/Linux 上仅 USB 和硬盘的插入?

mysql - jruby公共(public)数据库适配器

django - 在 heroku 上部署 django 应用程序出现错误 : DisallowedHost at/Invalid HTTP_HOST header: 'ecommerceyy.herokuapp.com'