Add clone script
This commit is contained in:
parent
7c82e57515
commit
e716ac0aa3
1 changed files with 8 additions and 0 deletions
8
local/bin/clonepuppetmodule.sh
Executable file
8
local/bin/clonepuppetmodule.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/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 ..
|
||||
Loading…
Add table
Add a link
Reference in a new issue