Loading...
Loading...
Compare original and translation side by side
git log -30 --oneline
git log -30 --pretty=format:"%s"git log -30 --oneline
git log -30 --pretty=format:"%s"| Criterion | Action |
|---|---|
| Different directories/modules | SPLIT |
| Different component types | SPLIT |
| Can be reverted independently | SPLIT |
| Different concerns (UI/logic/config/test) | SPLIT |
| New file vs modification | SPLIT |
| 判定标准 | 操作 |
|---|---|
| 不同目录/模块 | 拆分 |
| 不同组件类型 | 拆分 |
| 可独立回滚 | 拆分 |
| 不同关注点(UI/逻辑/配置/测试) | 拆分 |
| 新增文件 vs 修改文件 | 拆分 |
| Goal | Command |
|---|---|
| When was "X" added? | |
| What commits touched "X"? | |
| Who wrote line N? | |
| When did bug start? | |
| 目标 | 命令 |
|---|---|
| “X”是何时添加的? | |
| 哪些提交改动了“X”? | |
| 第N行是谁写的? | |
| 漏洞是何时出现的? | |
--force-with-lease--force--force-with-lease--force