Skip to content

Git tricks #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
midenok opened this issue Apr 13, 2019 · 0 comments
Open

Git tricks #2

midenok opened this issue Apr 13, 2019 · 0 comments

Comments

@midenok
Copy link
Member

midenok commented Apr 13, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant