Guest User

Untitled

a guest
Oct 16th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. for file in *
  4. do
  5. if [ -d $file ]
  6. then
  7. cd $file
  8. echo Pulling `pwd` `git branch 2>/dev/null | grep -e '^*' | sed -E 's/^\* (.+)$/(\1) /'`
  9. git pull
  10. cd ../
  11. fi
  12. done
Add Comment
Please, Sign In to add comment