Skip to content

Commit b776ac9

Browse files
authored
Update CONTRIBUTING.md (#2620)
1 parent 3669b47 commit b776ac9

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ some aspects of development, including testing against multiple Python versions.
5555
To install `tox`, run:
5656

5757
```sh
58-
pip install tox
58+
$ pip install tox
5959
```
6060

6161
You can run `tox` with the following arguments:
@@ -128,13 +128,14 @@ pull requests (PRs).
128128
To create a new PR, fork the project in GitHub and clone the upstream repo:
129129

130130
```sh
131-
git clone https://github.com/open-telemetry/opentelemetry-python-contrib.git
131+
$ git clone https://github.com/open-telemetry/opentelemetry-python-contrib.git
132+
$ cd opentelemetry-python-contrib
132133
```
133134

134135
Add your fork as an origin:
135136

136137
```sh
137-
git remote add fork https://github.com/YOUR_GITHUB_USERNAME/opentelemetry-python-contrib.git
138+
$ git remote add fork https://github.com/YOUR_GITHUB_USERNAME/opentelemetry-python-contrib.git
138139
```
139140

140141
Run tests:
@@ -148,10 +149,10 @@ $ tox # execute in the root of the repository
148149
Check out a new branch, make modifications and push the branch to your fork:
149150

150151
```sh
151-
git checkout -b feature
152+
$ git checkout -b feature
152153
# edit files
153-
git commit
154-
git push fork feature
154+
$ git commit
155+
$ git push fork feature
155156
```
156157

157158
Open a pull request against the main `opentelemetry-python-contrib` repo.

0 commit comments

Comments
 (0)