3 ms·
> 2. History - How can I go through a file to see its history? "git show REV"? What if I want a wikipedia style history? What if I want to go through the histor
by joatmon-snoo 10y ago
> 2. History - How can I go through a file to see its history? "git show REV"? What if I want a wikipedia style history? What if I want to go through the history of a file? There should be something like "git history main.c"
git log --stat --patch -- main.c
- Ajedi32 10y agoMake that an alias: git config --global alias.history "log --stat --patch --"