Minimalist Git
bengarvey.com
Minimalist Git
1–3 of 3 posts
Re: Minimalist Git
#2I 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.
Re: Minimalist Git
#3Good 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…
I ignore stash completely by committing with -a and simply not worrying about the commit history so much, since they'll all be squashed anyway.
Never used the --oneline option before and I LOVE it. Thanks!