Leandro Acosta

Written by Leandro Acosta who lives and works in Melbourne, Australia building useful things. You should follow him on Twitter

About

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


Leandro Acosta

Written by Leandro Acosta who lives and works in Melbourne, Australia building useful things. You should follow him on Twitter