a17789eedea4f6b9b5a9c970174d6d5dc0ef64ee

Author
Adam Johnson <me@adamj.eu>
Committer
GitHub <noreply@github.com>
Date

Message

docs(git): improve tables and language (#11895)

Diff

This diff is truncated to protect this page.

  1diff --git a/plugins/git/README.md b/plugins/git/README.md
  2index 6eb63ea40742c8651951384a41ae41cb575988fb..9621a312e05b6a924c2f5555abbc9f772120f39b 100644
  3--- a/plugins/git/README.md
  4+++ b/plugins/git/README.md
  5@@ -10,204 +10,204 @@ plugins=(... git)
  6 
  7 ## Aliases
  8 
  9-| Alias                | Command                                                                                                                                                          |
 10-| :------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------- |
 11-| grt                  | cd "$(git rev-parse --show-toplevel &#124;&#124; echo .)"                                                                                                        |
 12-| ggpnp                | ggl && ggp                                                                                                                                                       |
 13-| ggpur                | ggu                                                                                                                                                              |
 14-| g                    | git                                                                                                                                                              |
 15-| ga                   | git add                                                                                                                                                          |
 16-| gaa                  | git add --all                                                                                                                                                    |
 17-| gapa                 | git add --patch                                                                                                                                                  |
 18-| gau                  | git add --update                                                                                                                                                 |
 19-| gav                  | git add --verbose                                                                                                                                                |
 20-| gwip                 | git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign --message "--wip-- [skip ci]"                                    |
 21-| gam                  | git am                                                                                                                                                           |
 22-| gama                 | git am --abort                                                                                                                                                   |
 23-| gamc                 | git am --continue                                                                                                                                                |
 24-| gamscp               | git am --show-current-patch                                                                                                                                      |
 25-| gams                 | git am --skip                                                                                                                                                    |
 26-| gap                  | git apply                                                                                                                                                        |
 27-| gapt                 | git apply --3way                                                                                                                                                 |
 28-| gbs                  | git bisect                                                                                                                                                       |
 29-| gbsb                 | git bisect bad                                                                                                                                                   |
 30-| gbsg                 | git bisect good                                                                                                                                                  |
 31-| gbsn                 | git bisect new                                                                                                                                                   |
 32-| gbso                 | git bisect old                                                                                                                                                   |
 33-| gbsr                 | git bisect reset                                                                                                                                                 |
 34-| gbss                 | git bisect start                                                                                                                                                 |
 35-| gbl                  | git blame -w                                                                                                                                                     |
 36-| gb                   | git branch                                                                                                                                                       |
 37-| gba                  | git branch --all                                                                                                                                                 |
 38-| gbd                  | git branch --delete                                                                                                                                              |
 39-| gbD                  | git branch --delete --force                                                                                                                                      |
 40-| gbda                 | git branch --no-color --merged &#124; grep -vE "^([+]&#124;\s($(git_main_branch)&#124;$(git_develop_branch))\s\*$)" &#124; xargs git branch --delete 2>/dev/null |
 41-| gbgd                 | LANG=C git branch --no-color -vv | grep ": gone\]" | awk '"'"'{print $1}'"'"' | xargs git branch -d                                                              |
 42-| gbgD                 | LANG=C git branch --no-color -vv | grep ": gone\]" | awk '"'"'{print $1}'"'"' | xargs git branch -D                                                              |
 43-| gbnm                 | git branch --no-merged                                                                                                                                           |
 44-| gbr                  | git branch --remote                                                                                                                                              |
 45-| ggsup                | git branch --set-upstream-to=origin/$(git_current_branch)                                                                                                        |
 46-| gbg                  | LANG=C git branch -vv | grep ": gone\]"                                                                                                                          |
 47-| gco                  | git checkout                                                                                                                                                     |
 48-| gcor                 | git checkout --recurse-submodules                                                                                                                                |
 49-| gcb                  | git checkout -b                                                                                                                                                  |
 50-| gcd                  | git checkout $(git_develop_branch)                                                                                                                               |
 51-| gcm                  | git checkout $(git_main_branch)                                                                                                                                  |
 52-| gcp                  | git cherry-pick                                                                                                                                                  |
 53-| gcpa                 | git cherry-pick --abort                                                                                                                                          |
 54-| gcpc                 | git cherry-pick --continue                                                                                                                                       |
 55-| gclean               | git clean --interactive -d                                                                                                                                       |
 56-| gcl                  | git clone --recurse-submodules                                                                                                                                   |
 57-| gccd                 | git clone --recurse-submodules "$@" && cd "$(basename $\_ .git)"                                                                                                 |
 58-| gcam                 | git commit --all --message                                                                                                                                       |
 59-| gcas                 | git commit --all --signoff                                                                                                                                       |
 60-| gcasm                | git commit --all --signoff --message                                                                                                                             |
 61-| gcmsg                | git commit --message                                                                                                                                             |
 62-| gcsm                 | git commit --signoff --message                                                                                                                                   |
 63-| gc                   | git commit --verbose                                                                                                                                             |
 64-| gca                  | git commit --verbose --all                                                                                                                                       |
 65-| gca!                 | git commit --verbose --all --amend                                                                                                                               |
 66-| gcan!                | git commit --verbose --all --no-edit --amend                                                                                                                     |
 67-| gcans!               | git commit --verbose --all --signoff --no-edit --amend                                                                                                           |
 68-| gc!                  | git commit --verbose --amend                                                                                                                                     |
 69-| gcn!                 | git commit --verbose --no-edit --amend                                                                                                                           |
 70-| gcs                  | git commit -S                                                                                                                                                    |
 71-| gcss                 | git commit -S -s                                                                                                                                                 |
 72-| gcssm                | git commit -S -s -m                                                                                                                                              |
 73-| gcf                  | git config --list                                                                                                                                                |
 74-| gdct                 | git describe --tags $(git rev-list --tags --max-count=1)                                                                                                         |
 75-| gd                   | git diff                                                                                                                                                         |
 76-| gdca                 | git diff --cached                                                                                                                                                |
 77-| gdcw                 | git diff --cached --word-diff                                                                                                                                    |
 78-| gds                  | git diff --staged                                                                                                                                                |
 79-| gdw                  | git diff --word-diff                                                                                                                                             |
 80-| gdv                  | git diff -w $@ &#124; view -                                                                                                                                     |
 81-| gdup                 | git diff @{upstream}                                                                                                                                             |
 82-| gdnolock             | git diff $@ ":(exclude)package-lock.json" ":(exclude)\*.lock"                                                                                                    |
 83-| gdt                  | git diff-tree --no-commit-id --name-only -r                                                                                                                      |
 84-| gf                   | git fetch                                                                                                                                                        |
 85-| gfa                  | git fetch --all --prune                                                                                                                                          |
 86-| gfo                  | git fetch origin                                                                                                                                                 |
 87-| gg                   | git gui citool                                                                                                                                                   |
 88-| gga                  | git gui citool --amend                                                                                                                                           |
 89-| ghh                  | git help                                                                                                                                                         |
 90-| glgg                 | git log --graph                                                                                                                                                  |
 91-| glgga                | git log --graph --decorate --all                                                                                                                                 |
 92-| glgm                 | git log --graph --max-count=10                                                                                                                                   |
 93-| glod                 | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset'                                                           |
 94-| glods                | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --date=short                                              |
 95-| glol                 | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'                                                           |
 96-| glola                | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --all                                                     |
 97-| glols                | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --stat                                                    |
 98-| glo                  | git log --oneline --decorate                                                                                                                                     |
 99-| glog                 | git log --oneline --decorate --graph                                                                                                                             |
100-| gloga                | git log --oneline --decorate --graph --all                                                                                                                       |
101-| glp                  | git log --pretty=\<format>                                                                                                                                       |
102-| glg                  | git log --stat                                                                                                                                                   |
103-| glgp                 | git log --stat --patch                                                                                                                                           |
104-| gignored             | git ls-files -v &#124; grep "^[[:lower:]]"                                                                                                                       |