Hacker News new | past | comments | ask | show | jobs | submit login
Start Using Git on the Command Line Like a Pro in 5 Minutes (medium.com)
28 points by shakes 3 days ago | hide | past | web | favorite | 1 comment

Nice compiled list. I will have a list into restore and switch, to see if they fully replace the overloaded checkout interface.

”Pro things” that one might look into: interactive rebases. They are not that scary and very useful to clean up feature branches.

I also like utilizing HEAD~n. For example git diff HEAD~3 to check the diff of the last three commits

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact