DEV Community

Discussion on: 🌳🚀 CS Visualized: Useful Git Commands

lydiahallie profile image
Lydia Hallie Author

Good idea to add that! I'm thinking of generally creating a "cheatsheet" format that also covers all that stuff :) Will do in the next one or when I update the format 😄

toby profile image
toby • Edited on

Came here to comment specifically along these lines - I can never ever remember what the difference between HEAD~2 and HEAD^2 is !

Had completely forgotten about HEAD@{n} syntax :D