Add urls.txt to git-clone man page
PATCH 1/1 Add urls.txt to git-clone man page
Since git-clone is one of the many commands taking URLs to remote repositories as an argument, it should include the URL-types list from urls.txt.
Split up urls.txt into urls.txt and urls-remotes.txt. The latter should be used by anything besides git-clone where a discussion of using .git/config and .git/remotes/ to name URLs just doesn't make as much sense.
Signed-off-by Andrew Ruder <[email protected]>
--- Documentation/git-clone.txt | 7 +++- Documentation/git-fetch.txt | 2 +- Documentation/git-pull.txt | 2 +- Documentation/git-push.txt | 2 +- Documentation/urls-remotes.txt | 55 ++++++++++++++++++++++++++++++++++++++++ Documentation/urls.txt | 54 --------------------------------------- 6 files changed, 63 insertions(+), 59 deletions(-)
Documentation/git-clone.txt +5 -2
@@ -106,8 +106,9 @@ OPTIONS as patches. <repository>:: - The (possibly remote) repository to clone from. It can - be any URL git-fetch supports. + The (possibly remote) repository to clone from. See the + <<URLS,URLS>> section below for more information on specifying + repositories. <directory>:: The name of a new directory to clone into. The "humanish"
@@ -116,6 +117,8 @@ OPTIONS for "host.xz:foo/.git"). Cloning into an existing directory is not allowed. +include::urls.txt[] + Examples --------
Documentation/git-fetch.txt +1 -1
@@ -35,7 +35,7 @@ include::fetch-options.txt[] include::pull-fetch-param.txt[] -include::urls.txt[] +include::urls-remotes.txt[] SEE ALSO --------
Documentation/git-pull.txt +1 -1
@@ -29,7 +29,7 @@ include::fetch-options.txt[] include::pull-fetch-param.txt[] -include::urls.txt[] +include::urls-remotes.txt[] include::merge-strategies.txt[]
Documentation/git-push.txt +1 -1
@@ -95,7 +95,7 @@ the remote repository. -v:: Run verbosely. -include::urls.txt[] +include::urls-remotes.txt[] Examples
Documentation/urls-remotes.txt new file +55 -0
55 lines not on this page · raw message
Documentation/urls.txt +0 -54
57 lines not on this page · raw message
Signature · 1 line
1.5.3.rc0.13.gc37c