-
Notifications
You must be signed in to change notification settings - Fork 1.2k
git-fork | update to match REST-API auth standards as of 2021-06 #928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
4a4c529
64993db
d8b1007
b8b02d8
1f72512
30383f9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -237,3 +237,4 @@ Patches and Suggestions | |
| - Étienne BERSAC | ||
| - ☃ pitr | ||
| - 单元源 | ||
| - Don 'duckunix' Harper | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,16 @@ git-fork(1) -- Fork a repo on github | |
|
|
||
| Remotes will use ssh if you have it configured with GitHub, if not, https will be used. | ||
|
|
||
| Create pull request for a project on GitHub via command line. | ||
|
||
|
|
||
| A personal access token is required for making the API call to open the pull request(s) in GitHub. [API Documentation here](https://docs.github.com/en/rest/reference/pulls#create-a-pull-request) | ||
|
|
||
| Make sure the personal access token has the right `OAuth` scopes for the repo(s) | ||
|
|
||
| Use `git config --global --add git-extras.github-personal-access-token <your-personal-access-token>` | ||
|
|
||
| If using multiple accounts, override the global value in the specific repo using `git config git-extras.github-personal-access-token <other-acc-personal-access-token>` | ||
|
|
||
| ## EXAMPLE | ||
|
|
||
| Fork expect.js: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the doc like this:
https://github.com/tj/git-extras/blob/master/man/git-pull-request.md#description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay...updated.