Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

multiple-gits

# Personal account - default config
Host github.com-personal
   HostName github.com
   User git
   IdentityFile ~/.ssh/id_rsa_personal
# Work account
Host github.com-work
   HostName github.com
   User git
   IdentityFile ~/.ssh/id_rsa_work
Comment

multiple git

# Account 1 (work or personal) - the default config
Host github.com
   HostName github.com
   User git
   IdentityFile ~/.ssh/id_rsa
   
# Account 2 (work or personal) - the config we are adding
Host github-uraccount   
   HostName github.com
   User git
   IdentityFile ~/.ssh/id_rsa_uraccount
Comment

PREVIOUS NEXT
Code Example
Shell :: docker php fpm xsl 
Shell :: use environment secret variable in helm 
Shell :: excape all quates awk in file 
Shell :: get UUID of raid array linux 
Shell :: xargs echo 
Shell :: command line filters 
Shell :: how to escape typing mode in ubuntu 
Shell :: redis bitnami/redis kubernetes and docker-compose 
Shell :: odoo 14 download github 
Shell :: remove wine application icons of deleted programs from unity/gnome 
Shell :: yarn not found node version 14.17.4 
Shell :: Configure jfrog cli from command line 
Shell :: how to find out specifics on m otherboard using linux mint 20.3 
Shell :: gradle dolast 
Shell :: mac upgrade jmeter 
Shell :: Subshells 
Shell :: wget health check 
Shell :: double dock on gnome overview 
Shell :: docker compose linux +group_add uid sid 
Shell :: docker how to run existing container 
Shell :: gnome theme terminal 
Shell :: disable selinux firewall centos 8 
Shell :: awk command in linux 
Shell :: chown ubuntu 
Shell :: substring if statement variable shell script 
Shell :: update git using bash 
Shell :: add description git commit 
Shell :: keep command running after closing ssh 
Shell :: failed at the node-sass@4.13.1 postinstall script. 
Shell :: ubuntu --bind vs mount 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =