Translate

Friday, July 31, 2026

Show git diff per file

 [alias]

    df = log -p -1 --

    dff = "!for i in `seq 1 $1`; do git log -p -$i -- $2; done; echo"


Show diff added by the last change in the file1

git df file1 

Show all last 8 diff changes added to the file1

git dff 8 file1

No comments:

Blog Archive