Skip to content

Instantly share code, notes, and snippets.

@aviaryan
Last active April 13, 2018 17:06
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aviaryan/5413425 to your computer and use it in GitHub Desktop.
Save aviaryan/5413425 to your computer and use it in GitHub Desktop.
Debug Error - GitHub for Windows, --> debug the state of this repo - Easy Fix
By Avi Aryan
This Text explains how to get around with "debug the state of this repo" Error.
This text does not uses Cmd and Powershell, so it can be followed by a basic user.
If you face the above Error in GitHub for Windows, then ------
* First Go to your local repo i.e. the repo's local folder.
* Show Hidden Files via the Folder Options.
* You will see a ".git" named folder in your local repo as soon as hidden files are set to be seen.
* Delete That.
* Now open Github for Windows.
* Now, if you click on that repo in Local Tab, you should get an Error that repo cant be found.
*
* There it is, click on Re-Clone Repository button.
*
* The Repo will be downloaded again, with all commits and saved by default in -- My Documents/GitHib/<RepoName>
Enjoy!
@steowens
Copy link

Doesn't sound like much of a fix to me. Why would the software ask you to open a shell to debug if in fact there is no way to debug the issue? I have to say so far I find Git to be a bit of a hack and quite unimpressive as a version control technology.

@jonathanablanida
Copy link

I would assume that if you were to be writing code and using github you wouldn't be considered a "basic" user. Just fire up the console and do "git status" or "git pull", it will show you the problematic files which you might deal with manually or using git.

@lgpperry
Copy link

Using the console with "git status" and "git pull" seems to just override the error and fix the problem entirely.

@crayner
Copy link

crayner commented Jun 28, 2016

and it does not work...

@KarlaSdeLarios
Copy link

doesn´t work...

@nghianja
Copy link

Doesn't work for me too. Console commands show no error but desktop app just simply failed to sync.

@fiveseven808
Copy link

I had the same issue as the commenters... git status shows no errors, I can update via git pull, but I can't use the desktop app... Something about SSH agent failing to load... Had to reinstall and reclone the git....

@j4cobgarby
Copy link

Sometimes when using git pull, it gives an error: "Permission denied". To fix this, make sure that no other processes are using those files (e.g. any watch compilers, text editors, web servers...)

@Ij888
Copy link

Ij888 commented Nov 27, 2017

Check https://github.com/settings/emails if your email is set to private. Revert to public if it is.

@Neil-C-89
Copy link

This showed up when apparently I had a file that was too large in my commit. When I opened up powershell and used git push, it revealed the source of the error. Though I imagine the github desktop app throws this message for a variety of reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment