Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个我已经提交的文件 example.txt
git commit -m "added example"
现在我编辑了这个文件,想看看有什么不同吗?我怎么能看到它?
你只需要使用$git diff example.txt
$git diff example.txt