agit.vim icon indicating copy to clipboard operation
agit.vim copied to clipboard

There is not a command named AgitGit, AgitDiff

Open tenfyzhong opened this issue 8 years ago • 1 comments

tenfyzhong avatar May 07 '17 05:05 tenfyzhong

@tenfyzhong

:AgitGit[!] {args}
	Execute the specified git command. This is done in a current git
	repository path.
	Note: This command is available only in |agit-log| buffer.
	Note: This command is similar to |fugitive|'s |:Git| command, but this
	command uses |system()| internally so that the shell is not launched.

	If you specify !, this command uses |:!| instead of |system()|.
	(Same as |fugitive|'s |:Git|)

						*:AgitDiff*
:AgitDiff [{revisions}]
	Show |vimdiff| against the target file.
	AgitDiff accepts target revision(s) as an argument.
	Note: This command is available only in |agit-log| buffer from
	|:AgitFile| and |agit-stat| buffer.

	When launched from |agit-log| buffer, target of |:AgitFile| is treated
	as target file.
	When launched from |agit-stat| buffer, AgitDiff trys to pick target file
	from cursor position. (see |<cfile>|)

	If you installed |fugitive|, AgitDiff uses |fugitive| when showing staged
	file. This means you can stage or unstage each hunks like |:Gdiff|.

wsdjeg avatar Sep 28 '17 15:09 wsdjeg