Sign in
googlers
/
jrn
/
git
/
eb019375abf545ec644e043f830ab573c2a4cd74
/
.
/
git-clone-script
blob: 654f66dcc236006709e59214cc55d64c69c33993 [
file
] [
log
] [
blame
]
#!/bin/sh
repo
=
"$1"
dir
=
"$2"
mkdir $dir
||
exit
1
cd $dir
git
-
init
-
db
git fetch
"$repo"
&&
(
git
-
rev
-
parse FETCH_HEAD
>
.
git
/
HEAD
)