mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:50:05 +08:00
Remove git-dir
This commit is contained in:
parent
3baba2228f
commit
e2d5da41b2
@ -132,7 +132,9 @@ echo_with_color () {
|
|||||||
fetch_repo () {
|
fetch_repo () {
|
||||||
if [[ -d "$HOME/.SpaceVim" ]]; then
|
if [[ -d "$HOME/.SpaceVim" ]]; then
|
||||||
info "Trying to update SpaceVim"
|
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"
|
success "Successfully update SpaceVim"
|
||||||
else
|
else
|
||||||
info "Trying to clone SpaceVim"
|
info "Trying to clone SpaceVim"
|
||||||
|
Loading…
Reference in New Issue
Block a user