dotfiles-install: change git clone depth to 1
This commit is contained in:
parent
45b91c0a1f
commit
70175717b5
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ if ! command -v git > /dev/null;then
|
|||
fi
|
||||
|
||||
mkdir -p "$DOTFILES_REPO_DIR"
|
||||
git clone --bare "$DOTFILES_REPO_URL" "$DOTFILES_REPO_DIR"
|
||||
git clone --depth 1 --bare "$DOTFILES_REPO_URL" "$DOTFILES_REPO_DIR"
|
||||
|
||||
dot() {
|
||||
git --git-dir="$DOTFILES_REPO_DIR" --work-tree="$HOME" "$@"
|
||||
|
|
Loading…
Add table
Reference in a new issue