Skip to content

Instantly share code, notes, and snippets.

@dayfuaim
Last active Feb 15, 2017
Embed
What would you like to do?
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