summaryrefslogtreecommitdiffstats
path: root/Documentation/user-changeid.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/user-changeid.txt')
-rw-r--r--Documentation/user-changeid.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/user-changeid.txt b/Documentation/user-changeid.txt
index 1fa627c4da..124ec315d3 100644
--- a/Documentation/user-changeid.txt
+++ b/Documentation/user-changeid.txt
@@ -57,7 +57,7 @@ For more details, see link:cmd-hook-commit-msg.html[commit-msg].
Change Upload
--------------
-During upload by pushing to a `refs/for/\*` or `refs/heads/\*`
+During upload by pushing to a `refs/for/*` or `refs/heads/*`
branch, Gerrit will use the Change-Id line to:
* Create a new change
@@ -103,7 +103,7 @@ commit is complete by executing `git show`.
Amending a commit
~~~~~~~~~~~~~~~~~
-When amending a commit with `git commit \--amend`, leave the
+When amending a commit with `git commit --amend`, leave the
Change-Id line unmodified in the commit message. This will allow
Gerrit to automatically update the change with the amended commit.