Skip to content

Instantly share code, notes, and snippets.

@Fedec96
Created December 25, 2021 23:17
Show Gist options
  • Save Fedec96/e073cfc7b502f53ac0f126bf1425ff16 to your computer and use it in GitHub Desktop.
Save Fedec96/e073cfc7b502f53ac0f126bf1425ff16 to your computer and use it in GitHub Desktop.
Pull all git repositories from parent directory
#!/bin/bash
ls | xargs -I{} git -C {} pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment