Skip to content

Commit

Permalink
git-range-diff.md: less mess in commit example
Browse files Browse the repository at this point in the history
Co-authored-by: CleanMachine1 <[email protected]>
  • Loading branch information
xeruf and CleanMachine1 committed May 19, 2021
1 parent e6f288b commit f073f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/common/git-range-diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
> Compare two commit ranges (e.g. two versions of a branch).
> More information: <https://git-scm.com/docs/git-range-diff>.
- Diff the changes in commit1 and commit2:
- Diff the changes of two individual commits:

`git range-diff {{commit1}}^! {{commit2}}^!`
`git range-diff {{commit_1}}^! {{commit_2}}^!`

- Diff the changes of ours and theirs from their common ancestor, e.g. after an interactive rebase:

Expand Down

0 comments on commit f073f09

Please sign in to comment.