mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-04 15:30:01 +00:00
Improve details on how to sign commits
This commit is contained in:
parent
2a82c27954
commit
cb1924e0b4
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -34,7 +34,7 @@ Before submitting your pull request, please make sure the following is done:
|
|||||||
2. You have read the
|
2. You have read the
|
||||||
[Developer's Certificate of Origin](https://github.com/gnss-sdr/gnss-sdr/blob/next/.github/DCO.txt)
|
[Developer's Certificate of Origin](https://github.com/gnss-sdr/gnss-sdr/blob/next/.github/DCO.txt)
|
||||||
and
|
and
|
||||||
[signed your commits](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work)
|
[signed your commits](https://gnss-sdr.org/docs/tutorials/using-git/#sign-your-commits)
|
||||||
as an indication of fulfillment.
|
as an indication of fulfillment.
|
||||||
3. You have read the
|
3. You have read the
|
||||||
[Contributing Guidelines](https://github.com/gnss-sdr/gnss-sdr/blob/master/CONTRIBUTING.md).
|
[Contributing Guidelines](https://github.com/gnss-sdr/gnss-sdr/blob/master/CONTRIBUTING.md).
|
||||||
|
@ -118,9 +118,9 @@ $ git checkout -b my_feature
|
|||||||
Now you can do changes, add files, do commits (please take a look at
|
Now you can do changes, add files, do commits (please take a look at
|
||||||
[how to write good commit messages](https://chris.beams.io/posts/git-commit/),
|
[how to write good commit messages](https://chris.beams.io/posts/git-commit/),
|
||||||
and do not forget to
|
and do not forget to
|
||||||
[sign your commits](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work)
|
[sign your commits](https://gnss-sdr.org/docs/tutorials/using-git/#sign-your-commits)
|
||||||
with `git commit -s` if you plan to submit your code to the upstream repository
|
if you plan to submit your code to the upstream repository in a pull-request,
|
||||||
in a pull-request, see below) and push them to your repository:
|
see below) and push them to your repository:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ git push origin my_feature
|
$ git push origin my_feature
|
||||||
@ -150,7 +150,9 @@ To sign the DCO, suffix your git commits with a `Signed-off-by:` line. When
|
|||||||
using the command line, you can use `git commit -s` to automatically add this
|
using the command line, you can use `git commit -s` to automatically add this
|
||||||
line. If there were multiple authors of the code, or other types of
|
line. If there were multiple authors of the code, or other types of
|
||||||
stakeholders, make sure that all are listed, each with a separate
|
stakeholders, make sure that all are listed, each with a separate
|
||||||
`Signed-off-by:` line.
|
`Signed-off-by:` line. See
|
||||||
|
[how to sign commits](https://gnss-sdr.org/docs/tutorials/using-git/#sign-your-commits)
|
||||||
|
for details on how to tell Git to sign commits by default.
|
||||||
|
|
||||||
Before submitting your code, please be sure to
|
Before submitting your code, please be sure to
|
||||||
[apply clang-format](https://gnss-sdr.org/coding-style/#use-tools-for-automated-code-formatting).
|
[apply clang-format](https://gnss-sdr.org/coding-style/#use-tools-for-automated-code-formatting).
|
||||||
|
Loading…
Reference in New Issue
Block a user