V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
Livid
266.39D
578.54D
V2EX  ›  git

在 Ubuntu/Debian 服务器上安装最新版本的 Git

  •  
  •   Livid ·
    PRO
    · Aug 22, 2017 · 4439 views
    This topic created in 3171 days ago, the information mentioned may be changed or developed.
    sudo add-apt-repository -y ppa:git-core/ppa
    sudo apt-get update
    sudo apt-get install git
    

    除了安全方面的原因外,Git 在版本升级过程中持续引入了各种性能优化,比如更快的 git status,对于 powerline-shell 这样的使用场景就会很有帮助。

    5 replies    2017-08-22 10:32:56 +08:00
    Hilong
        1
    Hilong  
       Aug 22, 2017 via Android
    这是 git 测试版本的 ppa 源吗?
    forcecharlie
        2
    forcecharlie  
       Aug 22, 2017
    我这有一个

    ```shell
    bash <(curl -fsSL https://gitee.com/oscstudio/git-dist/raw/master/git-dist.sh)

    ```
    sylecn
        3
    sylecn  
       Aug 22, 2017 via Android
    debian 不能用 Ubuntu 的 ppa 吧
    hwding
        4
    hwding  
       Aug 22, 2017
    果然加了 PPA 以后就有更新了,不知道是否稳定。
    我已经被激进的 openGL 源坑过一波,到现在 steam 都闪退 :( 。
    msg7086
        5
    msg7086  
       Aug 22, 2017
    Debian 用户还是用 testing 的稳妥些。

    https://packages.debian.org/buster/git git (1:2.14.1-1)
    vs
    ppa:git-core/ppa (1:2.14.1-1.1~ppa0~ubuntu16.04.1)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5875 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 01:53 · PVG 09:53 · LAX 18:53 · JFK 21:53
    ♥ Do have faith in what you're doing.