Skip to content

Instantly share code, notes, and snippets.

@mei-li
Last active November 7, 2019 14:37
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 mei-li/17ebe3a4b47ccddaa3b113d8bece54fe to your computer and use it in GitHub Desktop.
Save mei-li/17ebe3a4b47ccddaa3b113d8bece54fe to your computer and use it in GitHub Desktop.

Master -- Branch

git diff --name-only origin/master

Branch -- Master

git diff --name-only master...

Commit to prev commit

git diff --staged --name-only --diff-filter=ACM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment