aboutsummaryrefslogtreecommitdiff
path: root/doc/git-union-merge.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-20 21:38:52 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-20 21:38:52 -0400
commit01e8a0a9e5de13b4c1f5baa5d44e8898692f62e4 (patch)
treede71d1cfcd5c85bb7567a22b62d2795f6c382ee2 /doc/git-union-merge.mdwn
parentd519bc71372fe1962a9e03fc5472f9fe870066f8 (diff)
allow git-union-merge to write to any ref
Not just refs/heads/* branches.
Diffstat (limited to 'doc/git-union-merge.mdwn')
-rw-r--r--doc/git-union-merge.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/git-union-merge.mdwn b/doc/git-union-merge.mdwn
index ac8e8f7a9..0322641ef 100644
--- a/doc/git-union-merge.mdwn
+++ b/doc/git-union-merge.mdwn
@@ -4,12 +4,12 @@ git-union-merge - Join branches together using a union merge
# SYNOPSIS
-git union-merge branch ref ref
+git union-merge newref ref ref
# DESCRIPTION
Does a union merge between two refs, storing the result in the
-specified branch.
+specified newref.
The union merge will always succeed, but assumes that files can be merged
simply by concacenating together lines from all the oldrefs, in any order.
@@ -20,7 +20,7 @@ entirely on git refs and branches.
# EXAMPLE
- git union-merge git-annex git-annex origin/git-annex
+ git union-merge refs/heads/git-annex git-annex origin/git-annex
Merges the current git-annex branch, and a version from origin,
storing the result in the git-annex branch.