Skip to content

Loading…

Documentation: git submodule init --update #579

Closed
mkoistinen opened this Issue · 5 comments

2 participants

@mkoistinen

Greetings, my first github issue post, please be gentle.

From the documentation in README.md:

git submodule init --update

So I, being the diligent documentation reader types:

$ git submodule init --update
Usage: git submodule [--quiet] add [-b branch] [-f|--force] [--reference <repository>] [--] <repository> [<path>]
   or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
   or: git submodule [--quiet] init [--] [<path>...]
   or: git submodule [--quiet] update [--init] [-N|--no-fetch] [--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]
   or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...]
   or: git submodule [--quiet] foreach [--recursive] <command>
   or: git submodule [--quiet] sync [--] [<path>...]
$ git --version
git version 1.7.3.1

Hmmm, perhaps it was meant to be git submodule update --init?

$ git submodule update --init
Cloning into node_modules/semver...
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Clone of 'git@github.com:isaacs/node-semver.git' into submodule path 'node_modules/semver' failed

Nope. Hmmm, how do Install this?

@isaacs
npm member

Duplicate of #578. Closed by d58cefa

@isaacs
npm member

Greetings, my first github issue post, please be gentle.

Also, welcome and thanks! Please post more issues as you encounter them :)

@mkoistinen

I agree that the first part of this issue is a duplicate (I should've read the latest issues first). But what about the 2nd part? With the requirement of using a private key to get the subs?

@isaacs
npm member

Grrr... submodules.

@isaacs
npm member

Closed by 27d2e35. Grr, submodules.

@reid reid pushed a commit to reid/npm that referenced this issue
@isaacs isaacs Closes GH-579. Grr, submodules. 27d2e35
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.