dotfiles/local/bin/clonepuppetmodule.sh
2016-10-18 14:19:22 -07:00

8 lines
194 B
Bash
Executable file

#!/bin/sh
git clone git@github.com:puppetlabs/$1.git && \
cd $1 && \
git remote rename origin puppetlabs && \
git remote add origin git@github.com:hunner/$1.git && \
git fetch --all && \
cd ..