Feedback

Chat Icon

Learn Git in a Day

Everything you need, nothing you don't

Your Git Cheatsheet
89%

When Things Go Wrong

SituationCommand
I want to undo my uncommitted editsgit restore
I staged a file by mistakegit restore --staged
I committed something wronggit revert HEAD
I need to pause my workgit stash → do other work → git stash pop
I made a typo in my last commit message

Learn Git in a Day

Everything you need, nothing you don't

Enroll now to unlock all content and receive all future updates for free.