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.
我有在本地提交的项目,现在我想用修改后的代码查看项目中所做的更改,我希望输出如下:
commit 54576760f3437ta3s457999d3ef606 Author: Rajesh Date: Tue Nov 13 1:40:55 2012 +0100 class myFile { .... //modified code should getdisplayed }
我可以使用什么命令?
看到这个。
git show 54576760f3437ta3s457999d3ef606