Changes

Jump to navigation Jump to search
311 bytes added ,  11:54, 25 June 2015
Created page with "See all the changes in color, but without any context lines, and without the leading +/-/<nowiki>[space]</nowiki> This makes it easy to grab changes and stuff them in another..."
See all the changes in color, but without any context lines, and without the leading +/-/<nowiki>[space]</nowiki>
This makes it easy to grab changes and stuff them in another file for example.
<source lang="bash">
git diff -U0 --color myfile | sed -r "s/^([^-+ ]*)[-+ ]/\\1/"
</source>

[[Category:Development]]
4,558

edits

Navigation menu