Awesome visualizations as usual!
It's interesting there's a few different syntaxes for selecting a previous commit:
HEAD~2 // previous two commits fro head HEAD~~ // previous two commits from head HEAD@{2} // reflog order 18fe5 // previous commit hash
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 π
Came here to comment specifically along these lines - I can never ever remember what the difference between HEAD~2 and HEAD^2 is !
HEAD~2
HEAD^2
Had completely forgotten about HEAD@{n} syntax :D
HEAD@{n}
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Awesome visualizations as usual!
It's interesting there's a few different syntaxes for selecting a previous commit:
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 π
Came here to comment specifically along these lines - I can never ever remember what the difference between
HEAD~2
andHEAD^2
is !Had completely forgotten about
HEAD@{n}
syntax :D