Created
February 14, 2022 20:39
-
-
Save aidnurs/fe1b390167524b3d2ff9aea90013de0d to your computer and use it in GitHub Desktop.
List changed git directories
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
git diff --name-only --cached | xargs -L1 dirname | cut -d '/' -f-2 | uniq | grep "/." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment