...
To generate a a personal access token on GitHub go to https://github.com/settings/tokens and and click on "Generate new token". You only need to select the "repo" scope (permission). After you have generated your personal , the first time you try to access GitHub in a way that requires authentication, the password manager will pop up asking you for username and password. Enter your username and the access token as password. The credential manager will then store it for future use. access token, store it in Keychain using git token store:
Code Block | ||
---|---|---|
| ||
$ git token store https://github.com
Username: <insert your Github username>
Password: <insert your "Personal Access Token", not your GitHub password> |
macOS
Credential Manager
macOS already comes with a password manager in the form of Keychain and Git for macOS is configured out of the box to use Keychain as a credential manager, there is no need to configure anything.
...