Generate token¶
- In GitHub profile, click on settings in dropdown in upper right (click on your picture/avatar)
- Click on developer settings
- Click on personal access tokens
-
Generate token with the following options checked:
-
Copy the resulting token which is a long string of characters
- Go to Terminal:
- Type:
nano ~/.token
- Paste the token
- Save and exit: control O, enter, control X