Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SpiritOfDarkDragon/cee7a7081ee1a0804887 to your computer and use it in GitHub Desktop.
Save SpiritOfDarkDragon/cee7a7081ee1a0804887 to your computer and use it in GitHub Desktop.
Permission denied (publickey).
Update .gitmodules
[submodule "example"]
path = example
url = https://github.com/webhat/example.git
Update .git/config too
[submodule "example"]
url = https://github.com/webhat/example.git
[remote "origin"]
fetch = [...]
url = https://github.com/webhat/example.git
And to finish:
git submodule sync
git submodule init
git submodule update
//from: http://stackoverflow.com/questions/8197089/fatal-error-when-updating-submodule-using-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment