Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix broken contributing guide #2939

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading