From 7438511fafc2ffddb034050458c24cf1848010c1 Mon Sep 17 00:00:00 2001 From: Jermy Li Date: Sat, 16 Apr 2022 12:21:11 +0800 Subject: [PATCH] CONTRIBUTING.md: add how to create a GitHub token (#1820) --- CONTRIBUTING.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 139ba8d21a..a0a2949743 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: +image + ## 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.