tldr-pages/tldr

page modification request: git clone

mansoorbarri opened this issue · 2 comments

Command description

I am trying to add git clone --recurse-submodules command to pages/common/git-clone.md but since there are already 8 commands, I can't add more.

Where else can I add that command?

Command details

No response

Documentation

No response

Platform

Common

VCS repository link (e.g. GitHub, GitLab)

No response

Additional information

No response

- Clone an existing repository and its submodules:
`git clone --recursive {{remote_repository_location}}`

Thanks for your initiative. We have an example using --recursive, which is an alias for --recurse-submodules, so I don't think that we should add another one.

$ git clone -h
usage: git clone [<options>] [--] <repo> [<dir>]
[...]
    --recurse-submodules[=<pathspec>]
                          initialize submodules in the clone
    --recursive[=<pathspec>]
                          alias of --recurse-submodules
[...]

alright thanks.