2021-03-11 07:42:00 -07:00
|
|
|
#+TITLE: Completions: git
|
2020-07-19 08:07:12 -06:00
|
|
|
|
|
|
|
The ~git~ completion currently supports the following arguments:
|
|
|
|
|
|
|
|
** Level 1
|
2021-03-19 16:07:46 -06:00
|
|
|
|
2020-07-19 08:07:12 -06:00
|
|
|
#+begin_src ksh
|
2021-03-19 16:07:46 -06:00
|
|
|
$(man -cT man git | grep -o 'git-[a-z-]*' | sort -u | cut -d '-' -f2-) \
|
|
|
|
$(git config --get-regexp ^alias\. | awk -F '[\. ]' '{ print $2 }')
|
2020-07-19 08:07:12 -06:00
|
|
|
worktree
|
|
|
|
#+end_src
|