It's straightforward to do a git diff <commit>...<some other commit>, but how can I achieve something equivalent to specifying "working tree" as the last argument in that command? I've tried git diff <commit>..., git diff <commit>... ., etc, but they don't actually pick up my changes in the working tree.
Bonus points if <commit> can be a remote branch =)
With ... you are implicitly specifying HEAD. You want the single argument version of diff to diff against the working tree.
git diff <commit>
<commit> can be anything that refers to a commit such as the name of a remote-tracking branch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With