mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:20:06 +08:00
Remove git-dir
This commit is contained in:
parent
3baba2228f
commit
e2d5da41b2
@ -132,7 +132,9 @@ echo_with_color () {
|
||||
fetch_repo () {
|
||||
if [[ -d "$HOME/.SpaceVim" ]]; then
|
||||
info "Trying to update SpaceVim"
|
||||
git --git-dir "$HOME/.SpaceVim/.git" pull
|
||||
cd "$HOME/.SpaceVim"
|
||||
git pull
|
||||
cd - > /dev/null 2>&1
|
||||
success "Successfully update SpaceVim"
|
||||
else
|
||||
info "Trying to clone SpaceVim"
|
||||
|
Loading…
Reference in New Issue
Block a user