logo

git tips

Branched from the wrong branch?

onto

Forgot to add something to a commit?

ammend

Want to switch back to the previous branch?

checkout

Want to stage some changes?

add

Want to set upstream?

push

Want to push nothing?

empty

Want to find out which branch has a commit?

contains

Want to speed things up?

gc

Want to undo bad things?

reflog

Want to find out when things broke?

bisect

Want to squash/delete commits?

rebase

Want to always pull with rebase?

Want git to be case sensative?

Love typos?

Like color?

Same conflicts?

#

/