- Is this cheat sheet free?
- Yes. There is no sign-up. Download the PDF or the images straight from this page.
- I committed by mistake. How do I undo it?
- If you have not pushed yet, git reset --soft HEAD~1 undoes the last commit and keeps the changes staged. If you already pushed, use git revert to add a commit that reverses it.
- How do I print it?
- Download the PDF and print it on A4 paper in landscape orientation. It is 2 pages, one sheet per page.
- Can I hand it out in a class or at work?
- Yes. It is licensed under CC BY 4.0, so you can share and adapt it as long as you credit WebTerm Learn (learn.webterm.app).
- Where can I practice Git?
- In the WebTerm Learn Git courses, which you play through like a game, right in your browser. Every command on the sheet links to the lesson that teaches it.