I have some uncommitted, unstaged changes which I want to create a patch from, but also flip the + and - lines.
git diff shows a change like:
-apple
+orange
I want it to be like
+apple
-orange
but without committing the changes and then using a git diff commita..commitb
git diff -R
-R means "reverse".
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