Convert tabs to spaces with 1 command

A one-liner to replace all tabs with spaces in your git repository.
created by on 2014-10-13

Required Tools

git ls-files | xargs file | grep text | cut -d":" -f1 | xargs -Ifile tab2space -lf file file

source: @buger

Tags:
Fork allmark on GitHub