Skip to content

Amended git submodule instructions in the README (fixes #220). #221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2013
Merged

Amended git submodule instructions in the README (fixes #220). #221

merged 1 commit into from
Mar 4, 2013

Conversation

artob
Copy link

@artob artob commented Mar 4, 2013

For a fresh checkout, the README's instructions for git submodule update don't suffice (it does nothing at all). One must first perform an git submodule init before the git submodule update, as follows:

$ git submodule init
Submodule 'deps/gmock' (git://github.com/cpp-netlib/gmock) registered for path 'deps/gmock'
Submodule 'deps/gtest' (git://github.com/cpp-netlib/gtest) registered for path 'deps/gtest'
Submodule 'uri' (git://github.com/cpp-netlib/uri) registered for path 'uri'

$ git submodule update
Cloning into 'deps/gmock'...
...
Submodule path 'deps/gmock': checked out '6b1759c3816d574bddde3e1725c51a811c8870e7'
Cloning into 'deps/gtest'...
...
Submodule path 'deps/gtest': checked out 'a6772271f71672e889776bfe49ec4efd9da036df'
Cloning into 'uri'...
...
Submodule path 'uri': checked out 'e3ed456dbec947765018b1dde9ede787bad91814'

(This is with Git version 1.8.0.2.)

Please amend the README instructions to mention git submodule init.

glynos added a commit that referenced this pull request Mar 4, 2013
Amended `git submodule` instructions in the README (fixes #220).
@glynos glynos merged commit 9412dba into cpp-netlib:master Mar 4, 2013
@glynos
Copy link
Member

glynos commented Mar 4, 2013

Thanks!

@artob artob deleted the readme-submodules branch March 4, 2013 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants