Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Just a little thing to look for (potentially conflicting) migration changes across all branches. (linux/mac os/bsd compatible)
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