git diff 如何显示指定文件的区别

2025-04-29 07:18:41
推荐回答(1个)
回答1:

linux的重定向命令
覆盖 git diff [branchA] [branchB] > a.txt
追加 git diff [branchA] [branchB] >> a.txt