Last active
December 20, 2021 19:58
-
-
Save tom-on-the-internet/0f4049227629297439307294c6e17e24 to your computer and use it in GitHub Desktop.
See what files have changed in git since a given date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/bash | |
branch=$(git rev-parse --abbrev-ref HEAD) | |
commit=$(git rev-list -1 --before="$1" "$branch") | |
shift | |
git diff --name-status "$commit" HEAD -- "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment