mmisw / orr

ORR - Ontology Registry & Repository integrated system
Apache License 2.0
13 stars 5 forks source link

git submodule foreach "(git checkout master; git pull)" not working #2

Closed lewismc closed 5 years ago

lewismc commented 5 years ago

Hi @carueda I'm trying to build locally for the first time in a while. When I execute git submodule foreach "(git checkout master; git pull)"... nothing is happening. Any ideas? Thanks

carueda commented 5 years ago

Hi @lewismc Not sure, it all worked just fine a day or two ago for me when I created that latest version mentioned elsewhere. I think I even reviewed the https://github.com/mmisw/orr/blob/master/README.md

What git version are you using?

lewismc commented 5 years ago

What git version are you using?

2.20.1

I had to use git submodule update --init --recursive, I'll send a PR

carueda commented 5 years ago

ha, you're right. I just tried from scratch.

For starting from the clone operation, the key step is to use the --recursive flag:

git clone --recursive https://github.com/mmisw/orr.git

and this should be added to the README.

With no --recursive is used for the clone, then the step you indicate can be used.

thanks for updating the README.

carueda commented 5 years ago

Thanks Lewis again for your readme update PR. I just pushed more edits to further clarify the sequence of build steps.