Skip to content

Commit daf29f5

Browse files
author
benoit-cty
committed
Contributing to a PR
1 parent 20b5276 commit daf29f5

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,18 @@ cp /data/tests/test_package_integrity.py .
302302
pytest test_package_integrity.py
303303
```
304304

305+
### Contribute to a fork branch
306+
307+
When a user open a PR from a fork, we are allowed to push to the fork branch.
308+
309+
If you want to do so, do the following:
310+
311+
```bash
312+
git remote add <user_name> https://github.com/<user_name>/codecarbon.git
313+
git fetch <user_name> <git_branch>
314+
git checkout -b <git_branch> <user_name>/<git_branch>
315+
```
316+
305317
<!-- TOC --><a name="api-and-dashboard"></a>
306318
## API and Dashboard
307319

0 commit comments

Comments
 (0)