Skip to content

Instantly share code, notes, and snippets.

@marcelblijleven
Created December 9, 2019 09:23
Show Gist options
  • Save marcelblijleven/f63f17c34cbc2ade8932b725e6ae854b to your computer and use it in GitHub Desktop.
Save marcelblijleven/f63f17c34cbc2ade8932b725e6ae854b to your computer and use it in GitHub Desktop.
Comma separated files with git diff
git --no-pager diff --name-only develop | tr '\n' ',' | sed 's/\(.*\),/\1 /'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment