Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS2022 Preview 3: "fatal: this operation must be run in a work tree" #72

Open
hajokirchhoff opened this issue Aug 16, 2021 · 0 comments
Projects

Comments

@hajokirchhoff
Copy link

(thanks for adding VS2022 Preview Support)
I just installed TGit in VS2022. Installation went fine.
When I enabled the TGit Toobar, I immediately got
TGit error
fatal: this operation must be run in a work tree
in an endless loop. When I click "ok", the message closes and immediately pops up again.

BTW, my solution file is not in the root of the git repository, but in a subfolder instead. I am mentioning this because with VS 2019 some git operations use the wrong directory (git log). They use the directory of the solution and only show part of the git repository. Perhaps this is the cause here. The git directory is not the same as the sln directory. Just a guess...

@sboulema sboulema added this to To do in TGit Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
TGit
  
To do
Development

No branches or pull requests

1 participant