Last active
January 24, 2019 22:05
-
-
Save mahmoud/6c7a0c61bf7b221b5c6d2f9e094ffc49 to your computer and use it in GitHub Desktop.
Just a little thing to look for (potentially conflicting) migration changes across all branches. (linux/mac os/bsd compatible)
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
find . -type d -name migrations -print0 -exec sh -c 'echo && echo "Checking: '{}'" && git --no-pager log --exit-code --all --not master --stat --pretty=format:"%n%ad - %d - %an: %s" --no-merges --after="one week ago" -- '{}' && echo "No changes for: '{}'" || echo "Finished: '{}'"' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment