DEV Community

Discussion on: πŸŒ³πŸš€ CS Visualized: Useful Git Commands

Collapse
 
lydiahallie profile image
Lydia Hallie

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 πŸ˜„

Collapse
 
toby profile image
toby • Edited

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