This method uses storing your personal access token in a separate file, .secrets
, so you can gitignore that file to keep your dotfiles safe during backups to potentially public repos.
curl
- Go to your Github profile page to create a personal access token
- Copy the new token and create a file in your root
(~)
folder called.secrets