DEV Community

Discussion on: Top 5 Git Tips & Tricks

Collapse
 
michaelcurrin profile image
Michael Currin

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.

Collapse
 
stecagnieszka profile image
Agnieszka Stec

Thanks for the feedback and more insightful Git hacks :)