Skip to content

Instantly share code, notes, and snippets.

@hell0again
Created January 26, 2015 11:43
Show Gist options
  • Save hell0again/72a1ae6918f3261c9bf1 to your computer and use it in GitHub Desktop.
Save hell0again/72a1ae6918f3261c9bf1 to your computer and use it in GitHub Desktop.
minify差分のdiffをみる
git diff > df
grep '^-' df | sed -e 's/\s/\n/g' > g.diff.a
grep '^+' df | sed -e 's/\s/\n/g' > g.diff.b
git diff --color --no-index -- g.diff.{a,b}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment