Search code examples
javascriptgitgithub-for-mac

Error creating new repo using GitHub desktop


When trying to create a new repo I am receiving the following error message. Notice that the folder javascripting has a / at the end of it.

This is not on the file name but it shows up by itself. Also, the 5 boxes that are normally green are grayed out.

enter image description here


Solution

  • Check to verify that the javascripting does not have .git folder inside it.

    Once you remove this folder you will be able to clone / pull.

    If there is a .git folder inside it might be sub modulate and someone commited it by mistake or did not define the submodule properly.