Skip to content

Instantly share code, notes, and snippets.

@djk29a
Last active March 3, 2017 17:39
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 djk29a/3cbc2d26f359050d1563ce31eb576f49 to your computer and use it in GitHub Desktop.
Save djk29a/3cbc2d26f359050d1563ce31eb576f49 to your computer and use it in GitHub Desktop.
git tricks
# get all files modified in a branch
git diff --name-only <notMainDev> $(git merge-base <notMainDev> <mainDev>)
# shorter alternative for git versions... ?+
git whatchanged --name-only --pretty="" origin..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment