1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:30:04 +08:00

docs(git.vim): remove duplicate tag

This commit is contained in:
wsdjeg 2024-02-20 13:44:54 +08:00
parent 4f4a001ad4
commit e4eaf08443
2 changed files with 15 additions and 10 deletions

View File

@ -13,6 +13,7 @@
" >
" :Git branch
" <
if has('nvim-0.9.0')
function! git#branch#current(...) abort
let prefix = get(a:000, 0, '')
@ -141,8 +142,6 @@ else
return ''
endif
endfunction
""
" update the branch info manually.
function! git#branch#detect() abort
call s:update_branch_name(getcwd(), 1)
endfunction

View File

@ -6,11 +6,12 @@ CONTENTS *git-contents*
1. Introduction..................................................|git-intro|
2. Commands...................................................|git-commands|
1. git-add.....................................................|git-add|
2. git-cherry-pick.....................................|git-cherry-pick|
3. git-clean.................................................|git-clean|
4. git-mv.......................................................|git-mv|
5. git-rm.......................................................|git-rm|
6. git-stash.................................................|git-stash|
2. git-branch...............................................|git-branch|
3. git-cherry-pick.....................................|git-cherry-pick|
4. git-clean.................................................|git-clean|
5. git-mv.......................................................|git-mv|
6. git-rm.......................................................|git-rm|
7. git-stash.................................................|git-stash|
3. Functions.................................................|git-functions|
==============================================================================
@ -34,6 +35,14 @@ file to the index.
:Git add %
<
==============================================================================
GIT-BRANCH *git-branch*
This commands is to open branch manager.
>
:Git branch
<
==============================================================================
GIT-CHERRY-PICK *git-cherry-pick*
@ -85,8 +94,5 @@ git#branch#detect() *git#branch#detect()*
git#branch#current() *git#branch#current()*
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: