diff options
author | David A. Greene <greened@obbligato.org> | 2013-02-04 22:06:04 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-05 15:23:05 -0800 |
commit | 111dc0eea07d4843a9ed86e4069b899224a4489b (patch) | |
tree | a3dba2e5519b8e8ee3bde7ba7d7b8d889c7f5772 /contrib/subtree/git-subtree.txt | |
parent | 10a49587fabde88c0afbc80a99d97fae91811f5f (diff) | |
download | git-111dc0eea07d4843a9ed86e4069b899224a4489b.tar.gz |
contrib/subtree: fix synopsis
Fix the documentation of add to show that a repository can be
specified along with a commit.
Suggested by Yann Dirson <dirson@bertin.fr>.
Signed-off-by: David A. Greene <greened@obbligato.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/subtree/git-subtree.txt')
-rw-r--r-- | contrib/subtree/git-subtree.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/subtree/git-subtree.txt b/contrib/subtree/git-subtree.txt index 0c44fda011..89614e5bb9 100644 --- a/contrib/subtree/git-subtree.txt +++ b/contrib/subtree/git-subtree.txt @@ -9,7 +9,8 @@ git-subtree - Merge subtrees together and split repository into subtrees SYNOPSIS -------- [verse] -'git subtree' add -P <prefix> <commit> +'git subtree' add -P <prefix> <refspec> +'git subtree' add -P <prefix> <repository> <refspec> 'git subtree' pull -P <prefix> <repository> <refspec...> 'git subtree' push -P <prefix> <repository> <refspec...> 'git subtree' merge -P <prefix> <commit> |