Last active
September 24, 2021 14:58
-
-
Save bradobro/3b194e17626deadc87cdd3854e06c1bf to your computer and use it in GitHub Desktop.
Short utilities for git and others in fish
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
# Create a list of repos in the directory | |
ls -d */.git > repos.txt | |
# remove the origin, (fetch) grep only fetch | |
# (manual) | |
# clone the repos from a repos list file | |
for r in (cat repos.txt | sort | uniq); | |
echo $r; git clone $r | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment