Last active
January 20, 2020 17:38
-
-
Save LC43/463bcc70f4e2e62e66478f830532e34d to your computer and use it in GitHub Desktop.
git diff between two branches, ignoring some paths
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
## note that there's two notations: :(exclude) or :! | |
git diff <branch1> <branch2> -- ':(exclude)*/vendor/*' ':(exclude)*/assets/*' ':!*/build/*' ':!*.lock' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment