Skip to content

Commit

Permalink
fix broken contributing guide (#2939)
Browse files Browse the repository at this point in the history
Signed-off-by: Chaiyapruek Muangsiri <cmp.poon@gmail.com>
  • Loading branch information
cmppoon authored Oct 9, 2023
1 parent f2b7521 commit 6c5683a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Unless the issue specifically mentions a branch, please create your feature bran

For example:

```
```bash
# Make sure you have the most recent changes to main
git checkout main
git pull
Expand Down Expand Up @@ -177,7 +177,7 @@ have the right to contribute the code you are submitting to the project.

You sign-off by adding the following to your commit messages:

```
```bash
Author: Your Name <your.name@example.com>
Date: Thu Feb 2 11:41:15 2018 -0800

Expand All @@ -191,12 +191,16 @@ be rejected by the automated DCO check.

Git has a `-s` command line option to do this automatically:

git commit -s -m 'This is my commit message'
```
git commit -s -m 'This is my commit message'
```

If you forgot to do this and have not yet pushed your changes to the remote
repository, you can amend your commit with the sign-off by running

git commit --amend -s
```
git commit --amend -s
```

## The life of a pull request

Expand Down

0 comments on commit 6c5683a

Please sign in to comment.