Cygwin/Git error cygheap base mismatch detected

前端 未结 13 1649
轮回少年
轮回少年 2020-12-13 01:41

I have installed two windows servers with the latest versions of cygwin and git, and am trying to clone the git repository from S1, to S2. I can successfully ssh from S2 to

13条回答
  •  我在风中等你
    2020-12-13 02:21

    EDIT: I found the solution.

    TL;DR: Go to the GitHub AppData folder and delete the PortableGit folder, and restart GitHub

    1. Close GitHub
    2. Navigate to the GitHub AppData folder: C:\Users\[username]\AppData\Local\GitHub
    3. Delete the folder that starts with PortableGit and ends in a random string of letters and numbers
    4. Restart GitHub. It will re-extract the dlls and the problem should be fixed!

    (Original "answer") I tried a whole bunch of things, and I have no idea what actually worked in the end. I restarted GitHub, restarted my computer, uninstalled and reinstalled GitHub, uninstalled several other programs that I had recently installed but ended up not needing, deleted the GitHub folder in the AppData\Local directory, downloaded and installed cygwin, and possibly some other stuff I'm forgetting.

    The last attempt was finding all the cygwin1.dll files in File Explorer and renaming them to cygwin1x.dll and then restarting my computer. After I did that, it worked again.

    I'm hazarding a guess here, but I'm going to say that downloading and installing cygwin and then restarting my computer did the trick.

提交回复
热议问题