summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb612d5)
raw | patch | inline | side by side (parent: fb612d5)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 8 Nov 2005 06:50:57 +0000 (22:50 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 8 Nov 2005 08:23:12 +0000 (00:23 -0800) |
Use 'git merge' instead.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/tutorial.txt | patch | blob | history |
index 6d2c153cf45c86426c158f10138602f00e3226ac..b59094a2feff30687be4483ed85ca767b54ec832 100644 (file)
It's usually much more common that you merge with somebody else than
merging with your own branches, so it's worth pointing out that git
makes that very easy too, and in fact, it's not that different from
-doing a `git resolve`. In fact, a remote merge ends up being nothing
+doing a `git merge`. In fact, a remote merge ends up being nothing
more than "fetch the work from a remote repository into a temporary tag"
-followed by a `git resolve`.
+followed by a `git merge`.
Fetching from a remote repository is done by, unsurprisingly,
`git fetch`:
files so only 'example' resulted in collapsing, but in real-life
large projects, only small number of files change in one commit,
and this 'collapsing' tends to trivially merge most of the paths
-fairly quickly, leaving only the real changes in non-zero stages.
+fairly quickly, leaving only a handful the real changes in non-zero
+stages.
To look at only non-zero stages, use `\--unmerged` flag:
'commit-fix' next, like this:
------------
-$ git resolve master diff-fix 'Merge fix in diff-fix'
-$ git resolve master commit-fix 'Merge fix in commit-fix'
+$ git merge 'Merge fix in diff-fix' master diff-fix
+$ git merge 'Merge fix in commit-fix' master commit-fix
------------
Which would result in:
------------
You can make sure 'git show-branch' matches the state before
-those two 'git resolve' you just did. Then, instead of running
-two 'git resolve' commands in a row, you would pull these two
+those two 'git merge' you just did. Then, instead of running
+two 'git merge' commands in a row, you would pull these two
branch heads (this is known as 'making an Octopus'):
------------