I am having a problem with git in vscode. I think I set it up incorrectly. I have been getting a message that says ““The git repository at ‘c:\Users(username)’ has too many active changes, only a subset of Git features will be enabled.””
it seems that the file changes being traced range from cached items to app data to json files and everything in between. I am super confused. Any help would be greatly appreciated. Thanks
Here is a screen shot of the changes in vscode.
I think you probably did
git init inside the directory
C:\Users\your_username. Doing this will cause Git to try and track every single file inside that directory and all its sub-directories. You shouldn’t be initializing a git repository in this folder, so you should probably go ahead and delete the
To do so, you will need to enable viewing “hidden items” in your computer’s file explorer. First open the file explorer to
C:\Users\your_username, click on the View tab, and select the “Hidden Items” checkbox:
Once that is selected, you should be able to see a folder called
Delete that folder and git will no longer track any of those files.
Then create a new empty folder where you want to start your repository and do your
git init in there.
@el_cocodrilo Thank you so much! I spent way too much time on this! lol
My god thank you. This fixed so many problems for me.
FOR ANYONE ON MAC
if you open finder and don’t see your username on the left “Favorites” bar – at the top of your screen next to the apple logo click Finder > Preferences > check off the box with your username under “show these items in the sidebar”
go back into finder, your name should now be on the left “Favorites” bar. Click your username. To show hidden folders press Command + Shift + . (yes, you must literally press period). You should see a greyed out “.git” folder. Move that sucker to the trash.
How do I make sure my git init goes in this folder? also what do I name the folder?
THANK YOU SO MUCH !!! i was getting crazy i am completely newbie on this. IT WORKED on my mac.
I don’t see the git folder when I do the command I do see other grey folders but not one called git
I moved that sucker to the trash!!! Finally!!! Thank you!
I accidentally deleted so many files trying a bunch of recommended commands in the terminal