4 ms·
Tig is one of the most valuable hidden gems out there. I use it both for simple things like a good looking commit log (the default view), but like especially h
by samuell 6y ago
Tig is one of the most valuable hidden gems out there.
I use it both for simple things like a good looking commit log (the default view), but like especially how I can navigate into an old commit, hit t (for tree), and navigate and peek into the files available in that specific commit, hit b (for blame) to view which commit changed a particular row etc.
I like how all the different views play together into such useful workflows, and how, just like in vim, everything is available one mnemonic keystroke away. Hit h (for help) inside it to explore ... you will be surprised at the power of using these different views together in practice.
- torvald 6y agoAnd also e (for edit) which, at least for me, opens vin for a quick change when needed.
- JNRowe 6y agoIt uses whatever git's core.editor option tells it to, and supports setting $GIT_EDITOR to override it. I rely on that from time to time instead of having to write a bunch of different aliases in to my tig config for different editors.