Updating fine grained tokens on github
December 7, 2023
On Linux:
- deployment is done using your ADM account, this account needs credentials setup correctly
git config --global --unset credential.helper
git config --global credential.helper cache # store in memory, encrypted, expires
git config --global credential.helper store # store on disk, not encrypted, never expires
git clone ...
>>> username: github username
>>> password: fine grained token
On Windows:
- type in Windows Credential Manager to update settings
- relevant entry is
git.[https://github.com
](https://github.com`) - username is GitHub username, password is GitHub PAT
- you won't need to enter them again