Skip to content

Instantly share code, notes, and snippets.

@hchoroomi
Created March 8, 2010 02:23
Show Gist options
  • Save hchoroomi/324785 to your computer and use it in GitHub Desktop.
Save hchoroomi/324785 to your computer and use it in GitHub Desktop.
# multi git user...
function iam() {
rm ~/.gitconfig
rm ~/.ssh/id_rsa
rm ~/.ssh/id_rsa.pub
ln -s ~/.dotfiles/git/$1.gitconfig ~/.gitconfig
ln -s ~/.ssh/$1/id_rsa.pub ~/.ssh/id_rsa.pub
ln -s ~/.ssh/$1/id_rsa ~/.ssh/id_rsa
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment