diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-10-30 21:44:43 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-30 21:44:43 -0700 |
commit | 9c51414f8efb73525a6c69917f1499dab081679d (patch) | |
tree | c10e59ae2c3257c5e5a8d108a2e4f5b6f6fe7995 /Documentation/core-tutorial.txt | |
parent | 7eedc1c1b34bbcd72b66a5dbf10b21476c10df1a (diff) | |
parent | 0bdb5af7a571ee2bd71550a545632b1cb7f8f8f3 (diff) | |
download | git-9c51414f8efb73525a6c69917f1499dab081679d.tar.gz git-9c51414f8efb73525a6c69917f1499dab081679d.tar.xz |
Merge branch 'maint' into HEAD
* maint:
Update GIT 1.5.3.5 Release Notes
git-rebase--interactive.sh: Make 3-way merge strategies work for -p.
git-rebase--interactive.sh: Don't pass a strategy to git-cherry-pick.
Fix --strategy parsing in git-rebase--interactive.sh
Make merge-recursive honor diff.renamelimit
cherry-pick/revert: more compact user direction message
core-tutorial: Use new syntax for git-merge.
git-merge: document but discourage the historical syntax
Prevent send-pack from segfaulting (backport from 'master')
Documentation/git-cvsexportcommit.txt: s/mgs/msg/ in example
Conflicts:
git-rebase--interactive.sh
Diffstat (limited to 'Documentation/core-tutorial.txt')
-rw-r--r-- | Documentation/core-tutorial.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/core-tutorial.txt b/Documentation/core-tutorial.txt index d8e78ac8f..5df97a1f9 100644 --- a/Documentation/core-tutorial.txt +++ b/Documentation/core-tutorial.txt @@ -878,7 +878,7 @@ script called `git merge`, which wants to know which branches you want to resolve and what the merge is all about: ------------ -$ git merge "Merge work in mybranch" HEAD mybranch +$ git merge -m "Merge work in mybranch" mybranch ------------ where the first argument is going to be used as the commit message if @@ -965,7 +965,7 @@ to the `master` branch. Let's go back to `mybranch`, and run ------------ $ git checkout mybranch -$ git merge "Merge upstream changes." HEAD master +$ git merge -m "Merge upstream changes." master ------------ This outputs something like this (the actual commit object names @@ -1607,8 +1607,8 @@ in both of them. You could merge in 'diff-fix' first and then 'commit-fix' next, like this: ------------ -$ git merge 'Merge fix in diff-fix' master diff-fix -$ git merge 'Merge fix in commit-fix' master commit-fix +$ git merge -m 'Merge fix in diff-fix' diff-fix +$ git merge -m 'Merge fix in commit-fix' commit-fix ------------ Which would result in: |