Update :Gpush FAQ entry to mention :Git!

This commit is contained in:
Tim Pope
2021-08-31 17:11:54 -04:00
parent a5d997fe8b
commit b96e1a3967

View File

@@ -99,14 +99,9 @@ Install using your favorite package manager, or use Vim's built-in package suppo
> `:Gfetch`? > `:Gfetch`?
This behavior was divisive, confusing, and complicated inputting passwords, so This behavior was divisive, confusing, and complicated inputting passwords, so
it was removed. Use `:Dispatch git push` for effectively the same behavior, it was removed. Use `:Git! push` to use Fugitive's own asynchronous
or provide your own asynchronous `:Gpush` and `:Gfetch` by adding the execution, or retroactively make `:Git push` asynchronous by pressing
following to your vimrc: `CTRL-D`.
command! -bang -bar -nargs=* Gpush execute 'Dispatch<bang> -dir=' .
\ fnameescape(FugitiveGitDir()) 'git push' <q-args>
command! -bang -bar -nargs=* Gfetch execute 'Dispatch<bang> -dir=' .
\ fnameescape(FugitiveGitDir()) 'git fetch' <q-args>
> So I have a symlink and... > So I have a symlink and...