CONTRIBUTING.md: clarify the commands to use
Change-Id: Ie4d5220ea489ea92ba2cfdd44251aa9d4a46301e
Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/45550
Reviewed-by: Tyler Bui-Palsulich <tbp@google.com>
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 85ed4df..19f4ac1 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -55,14 +55,14 @@
and following the directions. Otherwise, `git codereview mail` in the next step
will fail.
-1. Make changes then use `git codereview` to create a commit and create a Gerrit
-CL:
+1. Now you are ready to make changes. Don't create a new branch or make commits in the traditional
+way. Use the following`git codereview` commands to create a commit and create a Gerrit CL:
```
- git codereview change <name>
+ git codereview change <branch-name> # Use this instead of git checkout -b <branch-name>
# Make changes.
git add ...
- git codereview change
+ git codereview change # Use this instead of git commit
git codereview mail # If this fails, the error message will contain instructions to fix it.
```
@@ -75,7 +75,7 @@
```
# Make more changes.
git add ...
- git codereview change <name>
+ git codereview change
git codereview mail
```