mirror of https://github.com/CrimsonTome/tldr.git
parent
471e114d4e
commit
d31091d937
|
@ -27,10 +27,6 @@
|
||||||
|
|
||||||
`git diff --summary {{commit}}`
|
`git diff --summary {{commit}}`
|
||||||
|
|
||||||
- Create a patch file:
|
|
||||||
|
|
||||||
`git diff > {{target_file}}.patch`
|
|
||||||
|
|
||||||
- Compare a single file between two branches or commits:
|
- Compare a single file between two branches or commits:
|
||||||
|
|
||||||
`git diff {{branch_1}}..{{branch_2}} [--] {{path/to/file}}`
|
`git diff {{branch_1}}..{{branch_2}} [--] {{path/to/file}}`
|
||||||
|
|
Loading…
Reference in New Issue