Storing Screts
“Why should I worry? Our GitHub repository is private, and only our team can access the secrets!”
— Safelyl Storing Secrets in Git
EmbeddedArtistry.com
Even if you don’t want to concern yourself with it, consider it a challenge to keep your secrets secret.
Tips & Tricks
Tell git which key to use
Same way you tell any SSH session which key to use.
# vi ~/.ssh/config
Host github.com
Hostname %h
User git
IdentityFile ~/.ssh/github_id_rsa
Workflow
Update Local with Remote
Rebase Local Master with Remote Master
git stash # optional git checkout master git fetch origin git rebase origin/master