Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻

Boris Muñoz bmunoz89

👨‍💻
View GitHub Profile
@bmunoz89
bmunoz89 / rebase_first_commit.sh
Last active Aug 23, 2018 — forked from framon/rebase_first_commit.sh
Insert commit as first, allowing rebase of initial commit
View rebase_first_commit.sh
# first you need a new empty branch; let's call it `newroot`
git checkout --orphan newroot
git rm --cached -r .
# then you apply the same steps
git commit --allow-empty -m 'initial commit'
# or add some files for the first commit
git add .
git commit -m 'initial commit'
@bmunoz89
bmunoz89 / multiple_ssh_setting.md
Created Mar 26, 2017 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts
View multiple_ssh_setting.md

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"
You can’t perform that action at this time.