mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:50:06 +08:00
docs(git.vim): remove duplicate tag
This commit is contained in:
parent
4f4a001ad4
commit
e4eaf08443
@ -13,6 +13,7 @@
|
|||||||
" >
|
" >
|
||||||
" :Git branch
|
" :Git branch
|
||||||
" <
|
" <
|
||||||
|
|
||||||
if has('nvim-0.9.0')
|
if has('nvim-0.9.0')
|
||||||
function! git#branch#current(...) abort
|
function! git#branch#current(...) abort
|
||||||
let prefix = get(a:000, 0, '')
|
let prefix = get(a:000, 0, '')
|
||||||
@ -141,8 +142,6 @@ else
|
|||||||
return ''
|
return ''
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
""
|
|
||||||
" update the branch info manually.
|
|
||||||
function! git#branch#detect() abort
|
function! git#branch#detect() abort
|
||||||
call s:update_branch_name(getcwd(), 1)
|
call s:update_branch_name(getcwd(), 1)
|
||||||
endfunction
|
endfunction
|
||||||
|
@ -6,11 +6,12 @@ CONTENTS *git-contents*
|
|||||||
1. Introduction..................................................|git-intro|
|
1. Introduction..................................................|git-intro|
|
||||||
2. Commands...................................................|git-commands|
|
2. Commands...................................................|git-commands|
|
||||||
1. git-add.....................................................|git-add|
|
1. git-add.....................................................|git-add|
|
||||||
2. git-cherry-pick.....................................|git-cherry-pick|
|
2. git-branch...............................................|git-branch|
|
||||||
3. git-clean.................................................|git-clean|
|
3. git-cherry-pick.....................................|git-cherry-pick|
|
||||||
4. git-mv.......................................................|git-mv|
|
4. git-clean.................................................|git-clean|
|
||||||
5. git-rm.......................................................|git-rm|
|
5. git-mv.......................................................|git-mv|
|
||||||
6. git-stash.................................................|git-stash|
|
6. git-rm.......................................................|git-rm|
|
||||||
|
7. git-stash.................................................|git-stash|
|
||||||
3. Functions.................................................|git-functions|
|
3. Functions.................................................|git-functions|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@ -34,6 +35,14 @@ file to the index.
|
|||||||
:Git add %
|
:Git add %
|
||||||
<
|
<
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
GIT-BRANCH *git-branch*
|
||||||
|
|
||||||
|
This commands is to open branch manager.
|
||||||
|
>
|
||||||
|
:Git branch
|
||||||
|
<
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
GIT-CHERRY-PICK *git-cherry-pick*
|
GIT-CHERRY-PICK *git-cherry-pick*
|
||||||
|
|
||||||
@ -85,8 +94,5 @@ git#branch#detect() *git#branch#detect()*
|
|||||||
git#branch#current() *git#branch#current()*
|
git#branch#current() *git#branch#current()*
|
||||||
return the current branch info. this function can be used in statusline.
|
return the current branch info. this function can be used in statusline.
|
||||||
|
|
||||||
git#branch#detect() *git#branch#detect()*
|
|
||||||
update the branch info manually.
|
|
||||||
|
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
Loading…
Reference in New Issue
Block a user