Skip to content

Instantly share code, notes, and snippets.

View JoxieMedina's full-sized avatar
🏠
Working from home

Darwin Medina JoxieMedina

🏠
Working from home
  • CTI
  • Honduras
View GitHub Profile
@natelandau
natelandau / .bash_profile
Last active June 13, 2024 18:01
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active July 23, 2024 13:59
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.