qwat / QWAT

TEKSI Water module (project QWAT) - QGIS project
https://www.teksi.ch
GNU General Public License v2.0
58 stars 31 forks source link

git submodules update fails #23

Closed sebastian-r-schmidt closed 9 years ago

sebastian-r-schmidt commented 9 years ago

Hi, I Just tried to follow the install instructions and stumbled over the .gitmodules file. In my configuration, i could not do a git submodule update, it results in

"permission denied (public key). fatal: Could not read from remote repository Please make sure you have the correct access rights and the repository exists. Clone of 'git@github.com:qwat/qwat-data-model.git' into submodule path 'data-model' failed.

When I look into .gitmodule and change the url from

url = git@github.com:qwat/qwat-data-model.git to url = https://ghithub.com/qwat/qwat-data-model.git

it works out fine (after removing and re-intialising the sub-module).

I'm not sure what the git@github.com syntax for repositories means - is there a difference to the https url?

tudorbarascu commented 9 years ago

You're right. The url is better with the https option. The git@.. option is used when you're connecting to the repo using ssh access. As you haven't added the ssh key to github the command throwed that specific error as github didn't recognise you. Will change the README to take this into account. All the best!

tudorbarascu commented 9 years ago

This can be closed..

sebastian-r-schmidt commented 9 years ago

Thanks for updating documentaion. Works for me - I'll close it.