Good list. I would add git stash as well. I use it frequently, especially when I need to hop over to another branch for a review. I recently learned that you can save more than one stash as well, but that probably falls in the category of “excessively advanced git features that will land you in trouble”.
I also use git diff in conjunction with git status, mainly as a sanity check, and also so I don’t have to switch to a different UI just to see which lines changed in a file.
And then one more I like is git log —oneline, once again mainly for a sanity check.
I also use git diff in conjunction with git status, mainly as a sanity check, and also so I don’t have to switch to a different UI just to see which lines changed in a file.
And then one more I like is git log —oneline, once again mainly for a sanity check.