Skip to content

Commit

Permalink
CONTRIBUTING.md: add how to create a GitHub token (#1820)
Browse files Browse the repository at this point in the history
  • Loading branch information
javeme authored Apr 16, 2022
1 parent c3c9f2a commit 7438511
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ Push the local commit to GitHub fork repo:
git push origin bugfix-branch:bugfix-branch
```

Note that since GitHub requires submitting code through `username + token` (instead of using `username + password` directly), you need to create a GitHub token from https://github.com/settings/tokens:
<img width="1280" alt="image" src="https://user-images.githubusercontent.com/9625821/163524204-7fe0e6bf-9c8b-4b1a-ac65-6a0ac423eb16.png">

## 4. Create a Pull Request

Go to the web page of GitHub fork repo, there would be a chance to create a Pull Request after pushing to a new branch, just click button "Compare & pull request" to do it. Then edit the description for proposed changes, which can just be copied from the commit message.
Expand Down

0 comments on commit 7438511

Please sign in to comment.