snapframework / snap

Top-level package for the official Snap Framework libraries, includes the snaplets API as well as infrastructure for sessions, auth, and templates.
http://snapframework.com/
BSD 3-Clause "New" or "Revised" License
455 stars 68 forks source link

Git submodule is using git@github.com URL #165

Closed liuw closed 8 years ago

liuw commented 8 years ago

$ cd snap.git; git submodule update --init --recursive Submodule 'deps/heist' (git@github.com:snapframework/heist.git) registered for path 'deps/heist' ... Cloning into 'deps/heist'... Permission denied (publickey). fatal: Could not read from remote repository.

The root cause is that I don't have permission to clone from git@github.com remote URL. Using HTTPS remote URL works fine.

I used the following runes to fix this problem.

$ git reset --hard $ git clean -ffffdx $ sed -i '' -e 's/git@github.com:/https:\/\/github.com\//g' .gitmodules # I'm using OSX, the rune on Linux might be different

mightybyte commented 8 years ago

Thank you for this report. I just pushed a fix for this. If it solves your problem, can you close the issue? Otherwise let me know and I'll get it resolved.

liuw commented 8 years ago

Yes. It's working now. Thanks for fixing that.