Skip to content

Commit baebde7

Browse files
peffgitster
authored andcommitted
doc/ls-remote: cosmetic cleanups for examples
There are effectively three example commands and their output, but they're smushed together with no extra whitespace. Let's add some blank lines to make them more readable. Likewise, the first example uses "./." to refer to the path of the current repository, which is somewhat distracting. That may have been necessary back in 2005 when it was added, but we can just say "." these days. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 844ede3 commit baebde7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Documentation/git-ls-remote.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,17 @@ EXAMPLES
9595
--------
9696

9797
----
98-
$ git ls-remote --tags ./.
98+
$ git ls-remote --tags .
9999
d6602ec5194c87b0fc87103ca4d67251c76f233a refs/tags/v0.99
100100
f25a265a342aed6041ab0cc484224d9ca54b6f41 refs/tags/v0.99.1
101101
7ceca275d047c90c0c7d5afb13ab97efdf51bd6e refs/tags/v0.99.3
102102
c5db5456ae3b0873fc659c19fafdde22313cc441 refs/tags/v0.99.2
103103
0918385dbd9656cab0d1d81ba7453d49bbc16250 refs/tags/junio-gpg-pub
104+
104105
$ git ls-remote http://www.kernel.org/pub/scm/git/git.git master seen rc
105106
5fe978a5381f1fbad26a80e682ddd2a401966740 refs/heads/master
106107
c781a84b5204fb294c9ccc79f8b3baceeb32c061 refs/heads/seen
108+
107109
$ git remote add korg http://www.kernel.org/pub/scm/git/git.git
108110
$ git ls-remote --tags korg v\*
109111
d6602ec5194c87b0fc87103ca4d67251c76f233a refs/tags/v0.99

0 commit comments

Comments
 (0)