With command git diff toto.txt
, I can see all the code changes since the last commit.
Is it possible to have all dates of code changes?
For example:
aa
bb
cc
Day 1 toto.txt becomes:
aa
bbdd
cc
Day 2:
aazz
bbdd
cc
I would like a list of changes for toto.txt with date:
- aa -> aazz day 2
- bb -> bbdd day 1
git blame toto.txt|grep '0000000 (Not' => 00000000 (Not Committed Yet 2023-07-25 13:15:47 +0200 20) # @svglog = Logger.new("#{RAILS_ROOT}/log/mouchard_rsf.log", 5, 610440) 00000000 (Not Committed Yet 2023-07-25 13:15:47 +0200 21) # @svglog.formatter = proc { |severity, datetime, progname, msg| is more interesting, but for Not Committed the date is the command date not the change date