Easily use different GitHub accounts (with different public keys) on different local repositories.
Only works in Python 3 and with SSH (not HTTPS).
pip install .
or pip install gram
!
Register a GitHub account with gram (populates ~/.gram.ini
):
gram register -u lily-mayfield -k ~/.ssh/some-key.pub -n "Lily Mayfield" -e [email protected]
List accounts:
gram list
While in a repository root:
gram assign lily-mayfield