-
Notifications
You must be signed in to change notification settings - Fork 228
howto github auth
Ludovico Bianchi edited this page Oct 26, 2023
·
1 revision
Instructions by @andrewlee94
- Set up 2-Factor Authentication (2FA) for GitHub (if not already)
- Create a
gpg
UID and key-pair on your system (rungpg --gen-key
, then follow the prompts) - Configure
pass
:pass init <gpg-id>
- Install
gcm
(Git Credential Manager) following these steps - Configure
git
andgcm
to usegpg
as the password manager
git config --global credential.credentialStore gpg
- Next time you do a
git
action that requires authentication, you should be sent to a webpage to login and authenticate - Once you do this, your credentials should be stored (i.e. subsequent operations requiring authentication will use the stored credentials and you won't be asked to login again)
- Set up pre-commit
- Run pytest with coverage report
- Run Pylint locally
- Update the Pyomo version
- Install Pyomo from a local Git clone
- Set up GitHub authentication with GCM
- Handle warnings in pytest