Skip to content

Instantly share code, notes, and snippets.

@devpuppy
Created November 14, 2013 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devpuppy/7475194 to your computer and use it in GitHub Desktop.
Save devpuppy/7475194 to your computer and use it in GitHub Desktop.
alias diffedit
# subl . + all files that have been edited in this branch
# your $EDITOR may vary
alias diffedit="(echo '.' && git diff --name-only `git merge-base origin/master HEAD`) | xargs subl"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment