![](/img/trans.png)
[英]Git of Windows: Why is git diff not showing the differences between working directory and the staging index for a file?
[英]Git: Can you see the differences between a specific file in the head vs working directory?
我忘記了所做的確切更改,而是想根據上述更改來提交提交消息。 所以基本上,我想找出那些變化。
問題是,使用diff有點麻煩,因為我是在Visual Studio中制作此文件的,並與此同時引發了很多其他文件。
我有什么辦法可以檢查工作目錄及其在分支中的版本(例如master
)與工作目錄中其版本之間的特定文件file.txt
的特定更改?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.