5 ms·
> I want... the whole file to be visualized After reading your post more closely i see you want the entire file contents, not just the diff. Or maybe the full
by foobarbaz33 3y ago
> I want... the whole file to be visualized
After reading your post more closely i see you want the entire file contents, not just the diff.
Or maybe the full file contents with diff markers included?
That would likely produce HUGE, mostly redundant output. I would avoid that and just use the diffs. For the occasional time where I want to see the full file contents at a specific commit, I'd redirect the file contents to a temporary file.
# dump specific version of file into a temp file
git show commit:filename.txt > filenameTemp.txt