http://stackoverflow.com/questions/9903541/finding-diff-between-current-and-last-versions
up vote47down vote |
As pointed out on a comment by amalloy, if by "current and last versions" you mean the last commit and the commit before that, you could simply use
|
||||||||||||
|
Assuming "current version" is the working directory (uncommitted modifications) and "last version" is
credit for following goes to user And if you always skip the staging area with Summary
Source: git-diff(1) Manual Page – Cerran
|
|||||||||
|
时间: 2025-01-18 06:06:59