每当我使用 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/