How Do I Use Multiple GitHub Accounts?
How do I use multiple GitHub accounts on the same computer? This approach is a sanity saver when working on various projects from numerous clients. Create a new SSH key on macOS. (Try on other OSes; YMMV) ssh_key_gen() { if [ $# == 0 ]; then echo "Usage: ${FUNCNAME} [EMAIL] [KEY_NAME]" echo "1. Generate a key" echo "2. Copy the public key to the clipboard" return fi email="$1" key_name="$2" rsa_key_name="id_rsa_${key_name}" rsa_key_path="${HOME}/....