aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-merge.txt
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-01-07 17:42:27 +0100
committerThomas Rast <trast@student.ethz.ch>2010-01-09 21:08:26 +0100
commite330d8ca1a9ec38ce40b0f67123b1dd893f0b31c (patch)
treece537194d33e4dd0a93786772e876444321721e6 /Documentation/git-merge.txt
parent57bddb115331a23816af772172531fb56fceace4 (diff)
downloadgit-e330d8ca1a9ec38ce40b0f67123b1dd893f0b31c.tar.gz
Documentation: warn prominently against merging with dirty trees
We do this for both git-merge and git-pull, so as to hopefully alert (over)users of git-pull to the issue. Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Diffstat (limited to 'Documentation/git-merge.txt')
-rw-r--r--Documentation/git-merge.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-merge.txt b/Documentation/git-merge.txt
index 4896587026..3277f4e26d 100644
--- a/Documentation/git-merge.txt
+++ b/Documentation/git-merge.txt
@@ -22,6 +22,10 @@ The second syntax (<msg> `HEAD` <commit>...) is supported for
historical reasons. Do not use it from the command line or in
new scripts. It is the same as `git merge -m <msg> <commit>...`.
+*Warning*: Running 'git-merge' with uncommitted changes is
+discouraged: while possible, it leaves you in a state that is hard to
+back out of in the case of a conflict.
+
OPTIONS
-------