Skip to content

Commit 52d7179

Browse files
committed
Fix git commit operation to gerrit
1. Add the `-a` option for adding changes automatically. It is reported several missing-adding mistakes in past submissions. 2. Add notice on inputing useful commit msg. Change-Id: If3d13d27f1df139616e95c1e3b0d6292d33efb2c Signed-off-by: Baohua Yang <[email protected]>
1 parent f7f5dc3 commit 52d7179

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Gerrit/gerrit.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,11 @@ git checkout -b issue-nnnn
7575
please read [this document](changes.md).
7676

7777
```
78-
git commit -s
78+
git commit -s -a
7979
```
8080

81+
Then input precise and readable commit msg and submit.
82+
8183
6. Any code changes that affect documentation should be accompanied by
8284
corresponding changes (or additions) to the documentation and tests. This
8385
will ensure that if the merged PR is reversed, all traces of the change will

0 commit comments

Comments
 (0)