I'm familiar with using https://github.com/jonas/tig to view my changes, but often I want to see the whole file and quickly run through the changes. I think this "git timemachine" feature doesn't exist in tig
judging my these bug reports:
My workaround is the use tig blame $filename
and hit f
to look at the blob at that revision, which is super awkward since different lines change at different times.
What am I missing?
Maybe this binding:
bind generic ae !sh -c 'git show $1:$2' -- %(commit) %(file)
then run something like tig -- README.adoc
. Select a commit and hit "ae" to view the file.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.