Last active
July 12, 2018 08:39
-
-
Save sliekens/dd8a41ebfb8a2516c53d0974ca73bcdc to your computer and use it in GitHub Desktop.
Comparing git-ls-files to actual filenames
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
Compare-Object ` | |
-ReferenceObject (git ls-files | Resolve-Path -Relative | Sort-Object) ` | |
-DifferenceObject (Get-ChildItem -Recurse -File | Resolve-Path -Relative | Sort-Object) ` | |
-CaseSensitive ` | |
-SyncWindow 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment