GIT, source tree: Deleting a character shows as whole line deletion and adding

173 views Asked by At

I am new to git.I am using source tree as my GIT client. Even if I remove/change a single character in a file while committing it shows as line is deleted and same line with changed character as if I have added a whole new line. Isn't it supposed shows only change that has happened? Or Am I asking too much of git ?

1

There are 1 answers

0
David Deutsch On

Git actually can show you the word diffs; simply pass --color-words to git diff. Unfortunately, SourceTree does not have that option, so you need to use the command line or gitk.