Created
June 13, 2024 09:55
-
-
Save gnthibault/1674d2f9a9c58f26b1014e5351c3e447 to your computer and use it in GitHub Desktop.
Search branch name is all subdirectories. Espace specific bash color character from ls
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
for i in $(ls -d */); do echo "$i"; cd $(echo "$(pwd)/$i" | sed -e $'s/\x1b\[[0-9;]*m//g'); git branch | grep BRANCH_NAME_TO_SEARCH ;cd ..; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment