Created
July 13, 2021 10:31
-
-
Save wapiflapi/42c3cb3bc369fc50bf09184a93b7b5d8 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | |
TEMPLATE_GIT=$SCRIPT_DIR | |
TEMPLATE_PATH=something/censored/ | |
GIT_DIR=$TEMPLATE_GIT/.git git ls-files $TEMPLATE_PATH | | |
while read file; | |
do diff $TEMPLATE_GIT/$file "${file//"$TEMPLATE_PATH"/}"; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment