Loading...
Loading...
Compare original and translation side by side
| Flag | Effect |
|---|---|
| Diff staged changes ( |
| Diff unstaged changes ( |
| Diff since merge base: |
--base--base requires a branch name (e.g., --base main)| 参数 | 作用 |
|---|---|
| 对比已暂存的变更( |
| 对比未暂存的变更( |
| 对比与指定分支合并基准后的变更: |
--base--base requires a branch name (e.g., --base main)--stagedgit diff --cached | cat--unstagedgit diff | cat--base <branch>git diff <branch>...HEAD | cat--stagedgit diff --cached | cat--unstagedgit diff | cat--base <branch>git diff <branch>...HEAD | cat./REFERENCE.md./REFERENCE.md./REFERENCE.md./REFERENCE.mdgit add <modified-files>git add <modified-files>