How to make git diff show the same result as github's pull request diff? -
after branches merged, , github no longer show difference when try make pull request, git diff still show differences.
for example have branch d, created hotfix on branch h, merged h d, created more stuff on d. git hub pull reuqest h d shows no difference git diff h d show differences.
what trying create commandline tool see old branches (there can lot) don't have code differences develop. right have go github, pull reuqest , select each branch see if there difference.
thanks
you want "triple-dot" syntax:
git diff d...h
see what differences between double-dot ".." , triple-dot "..." in git diff commit ranges?
Comments
Post a Comment