LoginSignup
0
1

More than 1 year has passed since last update.

VSCodeでGit Graphが見れなくなった。

Last updated at Posted at 2022-05-20
Error: Unable to load Commits
There are no commits in this repository.

スクリーンショット 2022-05-20 21.13.24.png
突然Git Graphが表示されなくなって、ビックリ。ログを見ても原因不明。下記コマンドでエラーメッセージで失敗している状態を回避しようとしても無理。

git log --max-count=301 --date-order --branches --tags --remotes HEAD --
git show-ref -d --head
git status --untracked-files=all --porcelain

特定のGit実行可能ファイルを強制的にVisual Studio CodeおよびGit Graphで使用するように仕向けても無理。

git.path": "C:\\Program Files\\Git\\cmd\\git.exe
git rev-parse --show-toplevel

拡張機能を再インストールし直したり、再起動してもビクともしない。そんな時は、諦めて、一度ディレクトリを消して再度Git Cloneし直しましょう。プロジェクトのファイルのズレで生じる場合はこちらでリポジトリを直に指定できるので直るかと!

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