Leandro Acosta

My GitHub Cheatsheet

May 21, 2019

So I don’t know about you, but I sometimes have a hard time remembering exactly what git commands do what.

It’s because of this, I’ve decided to have this post as a way to add those which I tend to use most often. So let’s get to it!

git pull origin [branch]
git branch -d [branch]

Changing your git username

Need to change your commit credentials to be repo specific? Here are a few resources for this:

https://help.github.com/en/articles/setting-your-username-in-git https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration