I like reflog for undoing a deleted branch or a bad rebase decision.
You can also use git checkout against a commit reference from git reflog, if you don't want to use reset.
I will check out the diff conflict thing.
I didn't know about the typo auto correction. Oh and I don't bother typing git status, I aliased it to git st, which runs git status --short.
git status
git st
git status --short
Thanks for the feedback and more insightful Git hacks :)
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.
I like reflog for undoing a deleted branch or a bad rebase decision.
You can also use git checkout against a commit reference from git reflog, if you don't want to use reset.
I will check out the diff conflict thing.
I didn't know about the typo auto correction.
Oh and I don't bother typing
git status
, I aliased it togit st
, which runsgit status --short
.Thanks for the feedback and more insightful Git hacks :)