aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-07-28 12:33:57 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-28 12:33:57 -0700
commit205be1ee07fe509ecfce3825d3709c32f4161e31 (patch)
tree8acdbee0be06aaf500c66152d9411a488781bb6a /Documentation
parentf789f829933664dc4c3b0af7f1e2c5e37fc8621e (diff)
parent6acbcb927f8e34857fa8f68fcb4f9076941b24ff (diff)
downloadgit-205be1ee07fe509ecfce3825d3709c32f4161e31.tar.gz
git-205be1ee07fe509ecfce3825d3709c32f4161e31.tar.xz
Merge branch 'js/alias-p'
* js/alias-p: git wrapper: add --git-dir=<path> and --bare options Allow an alias to start with "-p"
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt
index ce3058182..7310a2b8b 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -8,7 +8,8 @@ git - the stupid content tracker
SYNOPSIS
--------
-'git' [--version] [--exec-path[=GIT_EXEC_PATH]] [--help] COMMAND [ARGS]
+'git' [--version] [--exec-path[=GIT_EXEC_PATH]] [-p|--paginate]
+ [--bare] [--git-dir=GIT_DIR] [--help] COMMAND [ARGS]
DESCRIPTION
-----------
@@ -41,6 +42,15 @@ OPTIONS
environment variable. If no path is given 'git' will print
the current setting and then exit.
+-p|--paginate::
+ Pipe all output into 'less' (or if set, $PAGER).
+
+--git-dir=<path>::
+ Set the path to the repository. This can also be controlled by
+ setting the GIT_DIR environment variable.
+
+--bare::
+ Same as --git-dir=`pwd`.
FURTHER DOCUMENTATION
---------------------