C
C#•2y ago
sinnedpenguin

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
sinnedpenguin
sinnedpenguinOP•2y ago
Monsieur Wholesome
Monsieur Wholesome•2y ago
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?
sinnedpenguin
sinnedpenguinOP•2y ago
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".
Monsieur Wholesome
Monsieur Wholesome•2y ago
Wdym by "creating another project"? Have you also added those folders into the gitignore yet?
sinnedpenguin
sinnedpenguinOP•2y ago
So before this issue... If I'm working on a new project, and click the Git Changes. I see that.
Monsieur Wholesome
Monsieur Wholesome•2y ago
Sure
sinnedpenguin
sinnedpenguinOP•2y ago
Now I only see this.
Monsieur Wholesome
Monsieur Wholesome•2y ago
Meh. Opt for the git cli then
reflectronic
reflectronic•2y ago
you seem to have a git repository in your user profile folder this is very extremely wrong
sinnedpenguin
sinnedpenguinOP•2y ago
You're right. I already fixed it. 🙂
Want results from more Discord servers?
Add your server