Browse Source

CONTRIBUTING: add indication that commits should be signed off.

Also add ToC entry for git hooks, which was missing

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Álvaro Brey Vilas 3 năm trước cách đây
mục cha
commit
78aa89e1be
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      CONTRIBUTING.md

+ 2 - 2
CONTRIBUTING.md

@@ -16,6 +16,7 @@
         1. [Branching model](#branching-model)
         1. [Android Studio formatter setup](#android-studio-formatter-setup)
         1. [Build variants](#build-variants)
+        1. [Git hooks](#git-hooks)
     1. [Contribution process](#contribution-process)
         1. [Fork and download android repository](#fork-and-download-android-repository)
         1. [Create pull request](#create-pull-request)
@@ -137,12 +138,11 @@ To install them, just run:
 
 
 ### Create pull request:
-* Commit your changes locally: ```git commit -a```
+* Commit your changes locally. Remember to sign off your commits (`git commit -sm 'Your commit message'`).
 * Push your changes to your GitHub repo: ```git push```
 * Browse to <https://github.com/YOURGITHUBNAME/android/pulls> and issue pull request
 * Enter description and send pull request.
 
-
 ### Create another pull request:
 To make sure your new pull request does not contain commits which are already contained in previous PRs, create a new branch which is a clone of upstream/master.