Last active
July 31, 2025 13:09
-
-
Save gin-melodic/08fd914edecd327bf2d51fbc367636bc to your computer and use it in GitHub Desktop.
Batch `git pull` in sub folder
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
| #!/bin/bash | |
| ls -d */ | xargs -I {} bash -c 'cd "{}" && echo "Now in {}" && git pull' |
Author
Author
for windows.
Get-ChildItem -Directory | ForEach-Object { pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r "$($_.FullName)\requirements.txt" }
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also use for batch pip install.