Skip to content

Instantly share code, notes, and snippets.

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 weirdpattern/52fd8d58c665806af5d3c18c74c11935 to your computer and use it in GitHub Desktop.
Save weirdpattern/52fd8d58c665806af5d3c18c74c11935 to your computer and use it in GitHub Desktop.
.2018.06.05.get-delta-between-two-branches
2018.06.05.get-delta-between-two-branches
# get delta between HEAD and origin/master displaying status and name of the files
git diff --name-status origin/master
# get delta between HEAd and origin/master displaying status and name of the files and showing only added files
git diff --name-status --diff-filter A origin/master
git diff [options] <commit>[..<commit>] [--] [<path>...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment