We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe47f8 commit e648f8bCopy full SHA for e648f8b
contrib/completion/git-completion.bash
@@ -810,7 +810,21 @@ _git_checkout ()
810
{
811
__git_has_doubledash && return
812
813
- __gitcomp "$(__git_refs)"
+ local cur="${COMP_WORDS[COMP_CWORD]}"
814
+ case "$cur" in
815
+ --conflict=*)
816
+ __gitcomp "diff3 merge" "" "${cur##--conflict=}"
817
+ ;;
818
+ --*)
819
+ __gitcomp "
820
+ --quiet --ours --theirs --track --no-track --merge
821
+ --conflict= --patch
822
+ "
823
824
+ *)
825
+ __gitcomp "$(__git_refs)"
826
827
+ esac
828
}
829
830
_git_cherry ()
0 commit comments