Skip to content

Instantly share code, notes, and snippets.

@olliebun
Created September 3, 2012 06:41
Show Gist options
  • Save olliebun/3607360 to your computer and use it in GitHub Desktop.
Save olliebun/3607360 to your computer and use it in GitHub Desktop.
Error when adding a submodule
git submodule add git@github.com:$mycompany/$myrepo.git
Cloning into 'go'...
Enter passphrase for key '/home/$me/.ssh/id_rsa':
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 21 (delta 1), reused 21 (delta 1)
Receiving objects: 100% (21/21), 6.37 KiB, done.
Resolving deltas: 100% (1/1), done.
fatal: You are on a branch yet to be born
Unable to checkout submodule '$myrepo'
@GMadorell
Copy link

hey @ceralena, I'm having the same issue but can't solve it and I don't find any help. Did you solve it?

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