Code

Merge branch 'gb/gitweb-snapshot-pathinfo'
[git.git] / Documentation / git-commit.txt
index 41809eecab9750746d2df4a0e148f09796e90224..2e62165fa9f48e1bff506b75895c081eb922b4ec 100644 (file)
@@ -145,6 +145,10 @@ It is a rough equivalent for:
 ------
 but can be used to amend a merge commit.
 --
++
+You should understand the implications of rewriting history if you
+amend a commit that has already been published.  (See the "RECOVERING
+FROM UPSTREAM REBASE" section in linkgit:git-rebase[1].)
 
 -i::
 --include::