GitHub Desktop - I've screwed up!

Hi,

My first venture into the dark art of Git!

I thought I would start by dipping my toe into GitHub Desktop first! That hasn’t gone well!

Looks like I’ve added my C drive! WT! 72000 of files. I’ve tried to remove them but then this just freezes the application!

How can I delete/remove this from the app PLEASE?

Regards,

Nigel ;-/

 

1 Like

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.

As you’ll notice, your topic is now here in the How to Use Git and GitHub. No action is needed on your part; you can continue the conversation as normal here.

Cheers!

Andrea

2 Likes

@iamnigelfrancis here’s how you can fix this:

  1. Right-click on the repository in the repository list in GitHub Desktop and select Remove to remove the repository
  2. Open File Explorer and go to your C:\ drive
  3. Make sure you have the option to view hidden files and folders enabled
  4. Delete the hidden .git directory located there

These steps will remove the repository from GitHub Desktop and delete the repository, but will not delete any of your existing files on the C:\ drive. Let me know if you run into any issues with these steps!

7 Likes

Andrea,

Many thanks!

If my initial post was on Stackoverflow and I’d written that, I’d have people breathing fire and throwing spears at me! A sole reason I don’t use SOF!

I may be using Use Git and GitHub quite a bit!

Again, thank you for your kind direction and no spear throwing! 

Nigel 😀

Steve,

Big hugs!

Thank you 😀