2

I'm trying to add a local repository using the github desktop app. But when I'm linking the folder, it keeps trying to add my User folder, thus making it well over the bytes limit and I'm not able to add anything because I keep getting this error: "The output from the command could not fit into the allocated stdout buffer. Set options.maxBuffer to a larger value than 10485760 bytes"

I'm checked the repository settings and my primary remote repository is "(fetch)". Adding a new repository and then copy/pasting the code into that new repo works fine but I want to know why adding my existing local repo won't work.

Chenny
  • 129
  • 11

3 Answers3

1

It is an old issue: https://github.com/desktop/desktop/issues/969

Solution:

  • Uninstall current GitHub desktop's version.

  • Then, update your GitHub Desktop version.

Vy Do
  • 46,709
  • 59
  • 215
  • 313
  • I was on the latest Github Desktop version. But I did so anyways and the problem still persists – Chenny Jun 22 '17 at 11:27
1

I think I actually found the answer to my problem. I was using the Github Desktop Beta version. I'm still not sure why the problem happened in the first place, but to fix this I just made sure to download the non-beta version at https://desktop.github.com/ at the bottom of the webpage rather than the one at the top.

Chenny
  • 129
  • 11
0

I had the same problem and unistalling and than updating GitHub didn't work.

This was the solution for me:

  • Open git bash
  • Create your Git repo cd c:\path\to\yout\project && git init . && git add (see this link)
  • Than 'Add axisting repository' on GitHub desktop should work