| Line 49: |
Line 49: |
| | done | | done |
| | </source> | | </source> |
| | + | |
| | + | Example: git pull from all repositories in a pwd |
| | + | <source lang="bash"> |
| | + | for i in $( ls ); do cd $i; git pull; cd ..; done |
| | + | </source> |
| | + | |
| | === C-like for === | | === C-like for === |
| | <source lang="bash"> | | <source lang="bash"> |