DEV Community

KOGA Mitsuhiro
KOGA Mitsuhiro

Posted on • Originally published at qiita.com

Bash on Ubuntu on Windowsに新しいGitをインストールする

はじめに

Bash on Ubuntu on Windowsで喜び勇んでapt-get install gitするとバージョン1.9.1でちょっと悲しくなりました。
せっかくなので新し目のバージョンを簡単にインストールできないか探してみると何て事はない、名前こそ仰々しいもののユーザー視点ではUbuntu 14.04.4 LTSなのでppaを利用すればよかったのです。

新しいGitをインストールする

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

これだけ
2016-08-17現在でバージョン2.9.3をインストールできました。

参考リンク

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay