0

I want to use VSCode git history extension but there's an error

Command git.viewFileHistory not found

What should I do?

1 Answer 1

0

It could be related to this bug.

This bug only seems to be happening for projects with multiple repos. I haven't been able to use View File History lately. I started using other functions of the extension

As it's explained in the bug report:

I eventually figured out that I need to first use View History (git log) and choose the repo. Then, the other 2 commands work

So, try to use first View History and then try again with ViewFileHistory

There is also a older bug report with the same issue, where the workaround to fix it seems to be:

  1. Uninstall the extension
  2. remove the directory from C:\Users\ue.vscode\extensions (for windows)
  3. Close VS code and reopen the vs code
  4. Install extension again and we are good to go
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.