Skip to content

GitHub Desktop - I've screwed up! #22594

Discussion options

You must be logged in to vote

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

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@EduCoimbra
Comment options

@Vshah141
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitHub Desktop Sync your code to your computer with a simple desktop app New User Help ❓ New User help
5 participants