Skip to content

Commit 6c5683a

Browse files
authored
fix broken contributing guide (getporter#2939)
Signed-off-by: Chaiyapruek Muangsiri <[email protected]>
1 parent f2b7521 commit 6c5683a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

CONTRIBUTING.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Unless the issue specifically mentions a branch, please create your feature bran
9595

9696
For example:
9797

98-
```
98+
```bash
9999
# Make sure you have the most recent changes to main
100100
git checkout main
101101
git pull
@@ -177,7 +177,7 @@ have the right to contribute the code you are submitting to the project.
177177

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

180-
```
180+
```bash
181181
Author: Your Name <[email protected]>
182182
Date: Thu Feb 2 11:41:15 2018 -0800
183183

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

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

194-
git commit -s -m 'This is my commit message'
194+
```
195+
git commit -s -m 'This is my commit message'
196+
```
195197

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

199-
git commit --amend -s
201+
```
202+
git commit --amend -s
203+
```
200204

201205
## The life of a pull request
202206

0 commit comments

Comments
 (0)