How to fix please? Git loads all my files.
So normally if I go to the Git Changes, it gives me an option to create a Git repository or Clone a repository but now I don't see it and all I see is a warning: "The repository is not working" properly because Git has flagged it as potentially unsafe." then if I click trust it loads all my files.
10 Replies
I think I am seeing public and private ssh keys
I dont think you want that within any git repository
Have you added a .gitignore to your project folder yet?
The problem is by default, I see "create repository" and "clone repository" every time I click git changes on Visual Studio. But now all I see is that error and if I click trust, it shows all my files on the 'Changes'.
I tried that. It worked on my current project. But if I create another project, I'm having the problem. It still gives me the error and clicking "trust" shows me all my files on "changes".
Wdym by "creating another project"?
Have you also added those folders into the gitignore yet?
So before this issue... If I'm working on a new project, and click the Git Changes. I see that.
Sure
Now I only see this.
Meh. Opt for the git cli then
you seem to have a git repository in your user profile folder
this is very extremely wrong
You're right. I already fixed it. 🙂