diff options
Diffstat (limited to 'clone')
-rwxr-xr-x | clone | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/bin/bash + +set -eu + +for arg in "$@" +do + dir=${arg#*:} + dir="$HOME"/src/${dir%/*} + mkdir -pv "$dir" + cd "$dir" + git clone --verbose --progress "$arg" +done |