Merge branch 'lnicolodi-patch-1'
This commit is contained in:
commit
2467f523e2
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ function update()
|
|||
if [[ "$( git rev-parse --is-inside-work-tree )" != "true" ]]; then
|
||||
if [[ "$( ls )" = "" ]]; then
|
||||
# If directory is empty, just clone
|
||||
git clone "${gitremote}" .
|
||||
git clone --depth=1 "${gitremote}" .
|
||||
else
|
||||
# If not empty, init and add remote
|
||||
git init >/dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue