1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 00:20:05 +08:00
This commit is contained in:
Timothy J Laurent 2017-01-10 13:33:39 -08:00 committed by GitHub
parent 6603cf1986
commit 370adead87

View File

@ -17,7 +17,7 @@ need_cmd () {
fetch_repo () {
if [[ -d "$HOME/.SpaceVim" ]]; then
git -C "$HOME/.SpaceVim" pull
git --git-dir "$HOME/.SpaceVim/.git" pull
echo -e "${Blue}Successfully update SpaceVim${Color_off}"
else
git clone https://github.com/SpaceVim/SpaceVim.git "$HOME/.SpaceVim"