@@ -24,7 +24,7 @@ the following, we assume your username "alice". So you always read your own
24
24
username if you see "alice".
25
25
26
26
27
- .. _ chapter -github-cli :
27
+ .. _ section -github-cli :
28
28
29
29
Using the GitHub CLI
30
30
====================
@@ -78,21 +78,26 @@ Linking Git to your GitHub account
78
78
==================================
79
79
80
80
In order for your Git to work with GitHub, your GitHub account needs to be
81
- linked with your Git. No action is needed if you have already contributed to
81
+ linked with your Git. No action is needed if you have already contributed to
82
82
any other project on GitHub and set up Git credentials or SSH keys for this.
83
83
84
- The above dialogue from ``gh auth login `` already linked your Git to GitHub by
85
- HTTPS protocol using your GitHub credentials. We assume this in the rest of
86
- this guide. For more details, see `Caching your GitHub credentials in Git
84
+ The above dialogue from ``gh auth login `` linked your Git to GitHub by HTTPS
85
+ protocol using your GitHub credentials. Alternatively you may like to use
86
+ popular `Git Credential Manager
87
+ <https://github.com/git-ecosystem/git-credential-manager> `_ which stores your
88
+ credentials natively to your platform. For more information, see `Caching your
89
+ GitHub credentials in Git
87
90
<https://docs.github.com/en/get-started/getting-started-with-git/caching-your-github-credentials-in-git> `_.
88
91
89
- If you prefer SSH protocol for authenticating Git to GitHub, then you follow
90
- :ref: `section-git-ssh ` to generate an SSH keypair and add the SSH public key to your
91
- GitHub account. A simple way to upload the public key is to choose SSH protocol
92
- for Git operations in the dialogue from ``gh auth login `` command above. For
93
- more details, see `Connecting to GitHub with SSH
92
+ If you prefer SSH to HTTPS for authenticating Git to GitHub, then you follow
93
+ :ref: `section-git-ssh ` to generate an SSH keypair and add the SSH public key to
94
+ your GitHub account. A simple way to upload the public key is to choose SSH
95
+ protocol for Git operations in the dialogue from ``gh auth login `` command
96
+ above. For more details, see `Connecting to GitHub with SSH
94
97
<https://docs.github.com/en/authentication/connecting-to-github-with-ssh> `_.
95
98
99
+ We assume HTTPS protocol in the rest of this guide.
100
+
96
101
97
102
Forking the Sage repository
98
103
===========================
0 commit comments