Maxim Y
Maxim Y

Reputation: 21

git fetch hanging on vscode and Github Desktop

I'm not very well versed in git.

As the title says, I was having an issue with pulling code in Visual Studio Code using Source Control and GitLens, and I started messing around with SSH Keys. I guess I must have really messed up whatever was set up by default, because the issue went from Error: Failed to read Username to Error: [email protected] permission denied (publickey) to endlessly hanging when I try to fetch/pull/push in vscode, git bash, and Github Desktop.

I have exhausted all the advice I have found on this topic and I'm feeling very lost right now. Don't feel like reinstalling my OS but it feels like the only option. Please let me know if you need any additional info.

Upvotes: 1

Views: 1579

Answers (1)

Maxim Y
Maxim Y

Reputation: 21

Managed to figure it out. I had to delete .ssh folder and set it back up, then I had to reset my remote origin.

I think that's what fixed it but as I said I'm not super well versed in git so it may have been something else I did accidentally lol

Upvotes: 1

Related Questions