请参考链接:https://www.cnblogs.com/wangqiguo/p/5793448.html
diff命令单中模式
1. normal模式
diff file1.txt file2.txt
2. context模式
diff file1.txt file2.txt -c
3. Unified模式
diff file1.txt file2.txt -u
2021-12-11 15:48:56
请参考链接:https://www.cnblogs.com/wangqiguo/p/5793448.html
diff命令单中模式
1. normal模式
diff file1.txt file2.txt
2. context模式
diff file1.txt file2.txt -c
3. Unified模式
diff file1.txt file2.txt -u