diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 5d4b874..4fa0889 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -432,7 +432,8 @@ func! s:make_sync_command(bang, bundle) abort let cmd_parts = [ \ 'cd '.vundle#installer#shellesc(a:bundle.path()), - \ 'git pull', + \ 'git fetch', + \ 'git reset --hard origin/HEAD', \ 'git submodule update --init --merge --recursive', \ ] let cmd = join(cmd_parts, ' && ')