0
0

More than 1 year has passed since last update.

VSCodeでGitリポジトリが認識されないとき

Posted at

概要

  • VSCode Version 1.60.2 (Windows x64)で、リモート計算機 (CentOS7)に置いてあるGitリポジトリを開いたら、Gitリポジトリとして認識されなかった。
    • コミット履歴やブランチ一覧などが全く表示されないなど。
  • リモート計算機にGitの最新版(ver 2.33.0)をインストールしてパスを通し、リモート計算機中のVSCodeサーバープロセスをすべて殺し、再度接続したところ、Gitリポジトリとして認識されるようになった。
  • 原因はCentOS7のデフォルト(システム)のGitバージョンが古すぎたため(ver 1.8.3.1)と考えられる。
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