私信  •  关注

alfunx

alfunx 最近创建的主题
alfunx 最近回复了
5 年前
回复了 alfunx 创建的主题 » 什么是……在git命令中是什么意思?

相关的Git手册 man git-diff 说:

git diff [<options>] <commit> <commit> [--] [<path>...]
    This is to view the changes between two arbitrary <commit>.

git diff [<options>] <commit>..<commit> [--] [<path>...]
    This is synonymous to the previous form. If <commit> on one
    side is omitted, it will have the same effect as using HEAD
    instead.