Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 5

GitHub Desktop - I've screwed up!

Solved! Go to Solution.

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 ;-/

 git_desktop.JPGgit_desktop_2.JPG

 

 

4 Replies
Community Manager
Message 2 of 5

Re: GitHub Desktop - I've screwed up!

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

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 3
Message 3 of 5

Re: GitHub Desktop - I've screwed up!

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 😀

 

 

 

 

Solution
GitHub Staff
Message 4 of 5

Re: GitHub Desktop - I've screwed up!

@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!

Copilot Lvl 3
Message 5 of 5

Re: GitHub Desktop - I've screwed up!

Steve,

 

Big hugs!

 

Thank you 😀