GIT : Show Changed Words Instead of Whole Lines

This works with git diff and git show
git diff --word-diff
Or
git diff --color --word-diff myFile.js

Comments

Popular posts from this blog

Inserting and Moving elements inside Ruby Array

Interview Question on Ruby on Rails