0
0

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 3 years have passed since last update.

Git2.26.0以下の脆弱性のためMacのgitをアプデする

Last updated at Posted at 2020-06-19

Git2.26.0以下の脆弱性のためMacのgitをアプデする

  1. git --versionで現在のバージョン確認
  2. brew upgrade gitをしてgit --versionが2.26.1以上になればOK。失敗した場合はhomebrewのgitを使うように設定
  3. 一度which gitで現在のgitのインストール先を確認
  4. /usr/local/bin/gitになっている場合はmacデフォルトのgitを使っているのでhomebrewからインストールしたgitを使うようにする
  5. brew install git
  6. パスを通すためにexport PATH="/usr/local/opt/git/bin:$PATH"を.bash_profileに追記
  7. source ~/.bash_profileでパスを反映させる
  8. git --versionで2.26.1以上になればOK

参考リンク

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?