diff options
author | Junio C Hamano <junio@kernel.org> | 2011-05-23 23:06:31 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-05-23 23:06:31 +0000 |
commit | 2a294cdddac356b905bb00d260fbd221d91af595 (patch) | |
tree | 7d2d0b207286927bba4e983e2c699cd69217fe3f /git-ls-remote.txt | |
parent | 300d43650761892e5a570d8b4d83433de5052ea8 (diff) | |
download | git-htmldocs-2a294cdddac356b905bb00d260fbd221d91af595.tar.gz |
Autogenerated HTML docs for v1.7.5.2-353-g5df3e
Diffstat (limited to 'git-ls-remote.txt')
-rw-r--r-- | git-ls-remote.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/git-ls-remote.txt b/git-ls-remote.txt index c3df8c0eb..7a9b86a58 100644 --- a/git-ls-remote.txt +++ b/git-ls-remote.txt @@ -10,7 +10,7 @@ SYNOPSIS -------- [verse] 'git ls-remote' [--heads] [--tags] [-u <exec> | --upload-pack <exec>] - <repository> [<refs>...] + [--exit-code] <repository> [<refs>...] DESCRIPTION ----------- @@ -36,6 +36,12 @@ OPTIONS SSH and where the SSH daemon does not use the PATH configured by the user. +--exit-code:: + Exit with status "2" when no matching refs are found in the remote + repository. Usually the command exits with status "0" to indicate + it successfully talked with the remote repository, whether it + found any matching refs. + <repository>:: Location of the repository. The shorthand defined in $GIT_DIR/branches/ can be used. Use "." (dot) to list references in |