0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

homebrewでインストールしたgitをアップグレードしてみた

Last updated at Posted at 2019-12-12

はじめに

Git」に複数の脆弱性、Windowsユーザーはとくに注意

というニュースを見かけました
Windowsユーザーではありませんが、脆弱性があるまま開発するのはちょっと。。。と思いまして、アップグレードしてみました

homebrew経由でインストールしたgitをバージョンアップする

コマンドは以下でOK

$ brew upgrade git

しばらく待っていると、gitの新旧バージョンが表示されます

・
・
==> Upgrading 1 outdated package:
git 2.17.0 -> 2.24.1
・
・

アップグレードが終わった後、バージョン確認します

$ git --version
git version 2.24.1

無事にアップグレードすることができました

最後に

アップグレードは定期的にしましょう(自戒の念を込めて)

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?