Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
#!/bin/bash | |
while getopts "ck" f | |
do | |
case "$f" in | |
c) clustername=${OPTARG};; | |
k) keyname=${OPTARG};; | |
*) echo "usage: $0 [-c] [-k]" >&2 | |
exit 1 ;; | |
esac |