Skip to content

Instantly share code, notes, and snippets.

@dayfuaim
Last active February 15, 2017 14:00
Show Gist options
  • Save dayfuaim/29489e1fc4a5d8fe653f6d43df174a08 to your computer and use it in GitHub Desktop.
Save dayfuaim/29489e1fc4a5d8fe653f6d43df174a08 to your computer and use it in GitHub Desktop.
Get all files created/changed in the BRANCH
#!/bin/bash
#
# Usage: git_files <BRANCH>
#
# Get all files created/changed in the BRANCH
#
git diff --stat `git merge-base master $1`..$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment