Last active
January 21, 2021 08:09
-
-
Save MIchaelMainer/977a3cd5e79ecc528928ddbaba7fa6b2 to your computer and use it in GitHub Desktop.
Shows how to filter diff info
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
https://github.com/microsoftgraph/msgraph-sdk-dotnet/pull/869 | |
`git diff dev -I "\/\/\sTemplate Source:.*.tt" -I "using System;" --ignore-space-change` | |
# PHP to get non-doc changes. | |
`git diff dev -I "\s{4}\*.*"` | |
# .net get non doc changes | |
`git diff master -I "\s{4,}\/{3}.*"` | |
# diff any number of whitespace followed by any characters (I forget if they are alphanumeric) | |
`git diff master -I "\s+.*"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment