Skip to content

Git tricks #2

@midenok

Description

@midenok

https://stackoverflow.com/questions/8569699/is-there-a-way-to-compare-two-diffs-or-patches

So you probably want:

git range-diff E..G E..G'

https://stackoverflow.com/questions/11459040/is-there-a-way-to-check-if-two-different-git-commits-are-equal-in-content

You want the --cherry-mark option to git log which marks commits with an equals sign when their patch content is the same.

git log --decorate --graph --oneline --cherry-mark --boundary A...B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions