Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏

125.8. 比较文件

125.8.1. 比较 SHA

		
neo@MacBook-Pro-M2 ~/w/netkiller (dev)> git diff cef86cfdb62de992b587c07425c8e7fa927a4b4d 66da93554af5d2e2398eb474b6981aa85a91547c		
		
		

125.8.2. 分支比较

比较两个分支的差异

		
neo@MacBook-Pro-M2 ~/w/netkiller (test)> git diff dev test --stat		
		
		

比较两个分支的文件差异

		
neo@MacBook-Pro-M2 ~/w/netkiller (test)> git diff dev test  src/main/resources/bootstrap.yml