I am looking at my git diff and the lines are exactly reversed. New lines show with "-"s and red colors, and the removed lines show with "+"s and green colors.
+ deleted line [green]
- newline [red]
Nothing in my .gitconfig seems to indicate anything amiss.
Anyone ever seen this happen before? What did you do to fix? Thanks!
The direction of the diff is important:
git diff A B will provide different output than git diff B A and the difference will be in reversing what was deleted and what was added.
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