#!/bin/sh
for d in `ls -1p | grep \/$`; do echo "entering $d" ; cd $d ; git pull ; cd .. ; done
This helps my to easily stay current on several projects and only requires my to start a single shell script :)
A blog about Mac OSX and software for (Intel) Mac OSX.
#!/bin/sh
for d in `ls -1p | grep \/$`; do echo "entering $d" ; cd $d ; git pull ; cd .. ; done
No comments:
Post a Comment