/script/initwww

http://github.com/budu/lobos · #! · 5 lines · 3 code · 2 blank · 0 comment · 0 complexity · bafe3e37109bf1316fefb0104b9c8ad5 MD5 · raw file

  1. #!/bin/bash
  2. ORIGIN=`git remote -v | grep "origin\(.*\)fetch" | grep -o "git@.*/"`
  3. git clone -b gh-pages ${ORIGIN}lobos.git www