1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-14 01:40:09 +00:00

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

This commit is contained in:
Adam Johnson 2023-09-25 09:49:22 +01:00 committed by GitHub
parent c91684bb1b
commit a17789eede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,203 +11,203 @@ plugins=(... git)
## Aliases ## Aliases
| Alias | Command | | Alias | Command |
| :------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------- | | :--------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| grt | cd "$(git rev-parse --show-toplevel || echo .)" | | `grt` | `cd "$(git rev-parse --show-toplevel \|\| echo .)"` |
| ggpnp | ggl && ggp | | `ggpnp` | `ggl && ggp` |
| ggpur | ggu | | `ggpur` | `ggu` |
| g | git | | `g` | `git` |
| ga | git add | | `ga` | `git add` |
| gaa | git add --all | | `gaa` | `git add --all` |
| gapa | git add --patch | | `gapa` | `git add --patch` |
| gau | git add --update | | `gau` | `git add --update` |
| gav | git add --verbose | | `gav` | `git add --verbose` |
| gwip | git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign --message "--wip-- [skip ci]" | | `gwip` | `git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign --message "--wip-- [skip ci]"` |
| gam | git am | | `gam` | `git am` |
| gama | git am --abort | | `gama` | `git am --abort` |
| gamc | git am --continue | | `gamc` | `git am --continue` |
| gamscp | git am --show-current-patch | | `gamscp` | `git am --show-current-patch` |
| gams | git am --skip | | `gams` | `git am --skip` |
| gap | git apply | | `gap` | `git apply` |
| gapt | git apply --3way | | `gapt` | `git apply --3way` |
| gbs | git bisect | | `gbs` | `git bisect` |
| gbsb | git bisect bad | | `gbsb` | `git bisect bad` |
| gbsg | git bisect good | | `gbsg` | `git bisect good` |
| gbsn | git bisect new | | `gbsn` | `git bisect new` |
| gbso | git bisect old | | `gbso` | `git bisect old` |
| gbsr | git bisect reset | | `gbsr` | `git bisect reset` |
| gbss | git bisect start | | `gbss` | `git bisect start` |
| gbl | git blame -w | | `gbl` | `git blame -w` |
| gb | git branch | | `gb` | `git branch` |
| gba | git branch --all | | `gba` | `git branch --all` |
| gbd | git branch --delete | | `gbd` | `git branch --delete` |
| gbD | git branch --delete --force | | `gbD` | `git branch --delete --force` |
| gbda | git branch --no-color --merged | grep -vE "^([+]|\s($(git_main_branch)|$(git_develop_branch))\s\*$)" | xargs git branch --delete 2>/dev/null | | `gbda` | `git branch --no-color --merged \| command grep -vE "^([+*]\|\s*($(git_main_branch)\|$(git_develop_branch))\s*$)" \| command xargs git branch --delete 2>/dev/null` |
| gbgd | LANG=C git branch --no-color -vv | grep ": gone\]" | awk '"'"'{print $1}'"'"' | xargs git branch -d | | `gbgd` | `LANG=C git branch --no-color -vv \| grep ": gone\]" \| awk '"'"'{print $1}'"'"' \| xargs git branch -d` |
| gbgD | LANG=C git branch --no-color -vv | grep ": gone\]" | awk '"'"'{print $1}'"'"' | xargs git branch -D | | `gbgD` | `LANG=C git branch --no-color -vv \| grep ": gone\]" \| awk '"'"'{print $1}'"'"' \| xargs git branch -D` |
| gbnm | git branch --no-merged | | `gbnm` | `git branch --no-merged` |
| gbr | git branch --remote | | `gbr` | `git branch --remote` |
| ggsup | git branch --set-upstream-to=origin/$(git_current_branch) | | `ggsup` | `git branch --set-upstream-to=origin/$(git_current_branch)` |
| gbg | LANG=C git branch -vv | grep ": gone\]" | | `gbg` | `LANG=C git branch -vv \| grep ": gone\]"` |
| gco | git checkout | | `gco` | `git checkout` |
| gcor | git checkout --recurse-submodules | | `gcor` | `git checkout --recurse-submodules` |
| gcb | git checkout -b | | `gcb` | `git checkout -b` |
| gcd | git checkout $(git_develop_branch) | | `gcd` | `git checkout $(git_develop_branch)` |
| gcm | git checkout $(git_main_branch) | | `gcm` | `git checkout $(git_main_branch)` |
| gcp | git cherry-pick | | `gcp` | `git cherry-pick` |
| gcpa | git cherry-pick --abort | | `gcpa` | `git cherry-pick --abort` |
| gcpc | git cherry-pick --continue | | `gcpc` | `git cherry-pick --continue` |
| gclean | git clean --interactive -d | | `gclean` | `git clean --interactive -d` |
| gcl | git clone --recurse-submodules | | `gcl` | `git clone --recurse-submodules` |
| gccd | git clone --recurse-submodules "$@" && cd "$(basename $\_ .git)" | | `gccd` | `git clone --recurse-submodules "$@" && cd "$(basename $\_ .git)"` |
| gcam | git commit --all --message | | `gcam` | `git commit --all --message` |
| gcas | git commit --all --signoff | | `gcas` | `git commit --all --signoff` |
| gcasm | git commit --all --signoff --message | | `gcasm` | `git commit --all --signoff --message` |
| gcmsg | git commit --message | | `gcmsg` | `git commit --message` |
| gcsm | git commit --signoff --message | | `gcsm` | `git commit --signoff --message` |
| gc | git commit --verbose | | `gc` | `git commit --verbose` |
| gca | git commit --verbose --all | | `gca` | `git commit --verbose --all` |
| gca! | git commit --verbose --all --amend | | `gca!` | `git commit --verbose --all --amend` |
| gcan! | git commit --verbose --all --no-edit --amend | | `gcan!` | `git commit --verbose --all --no-edit --amend` |
| gcans! | git commit --verbose --all --signoff --no-edit --amend | | `gcans!` | `git commit --verbose --all --signoff --no-edit --amend` |
| gc! | git commit --verbose --amend | | `gc!` | `git commit --verbose --amend` |
| gcn! | git commit --verbose --no-edit --amend | | `gcn!` | `git commit --verbose --no-edit --amend` |
| gcs | git commit -S | | `gcs` | `git commit -S` |
| gcss | git commit -S -s | | `gcss` | `git commit -S -s` |
| gcssm | git commit -S -s -m | | `gcssm` | `git commit -S -s -m` |
| gcf | git config --list | | `gcf` | `git config --list` |
| gdct | git describe --tags $(git rev-list --tags --max-count=1) | | `gdct` | `git describe --tags $(git rev-list --tags --max-count=1)` |
| gd | git diff | | `gd` | `git diff` |
| gdca | git diff --cached | | `gdca` | `git diff --cached` |
| gdcw | git diff --cached --word-diff | | `gdcw` | `git diff --cached --word-diff` |
| gds | git diff --staged | | `gds` | `git diff --staged` |
| gdw | git diff --word-diff | | `gdw` | `git diff --word-diff` |
| gdv | git diff -w $@ | view - | | `gdv` | `git diff -w "$@" \| view -` |
| gdup | git diff @{upstream} | | `gdup` | `git diff @{upstream}` |
| gdnolock | git diff $@ ":(exclude)package-lock.json" ":(exclude)\*.lock" | | `gdnolock` | `git diff $@ ":(exclude)package-lock.json" ":(exclude)\*.lock"` |
| gdt | git diff-tree --no-commit-id --name-only -r | | `gdt` | `git diff-tree --no-commit-id --name-only -r` |
| gf | git fetch | | `gf` | `git fetch` |
| gfa | git fetch --all --prune | | `gfa` | `git fetch --all --prune` |
| gfo | git fetch origin | | `gfo` | `git fetch origin` |
| gg | git gui citool | | `gg` | `git gui citool` |
| gga | git gui citool --amend | | `gga` | `git gui citool --amend` |
| ghh | git help | | `ghh` | `git help` |
| glgg | git log --graph | | `glgg` | `git log --graph` |
| glgga | git log --graph --decorate --all | | `glgga` | `git log --graph --decorate --all` |
| glgm | git log --graph --max-count=10 | | `glgm` | `git log --graph --max-count=10` |
| glod | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' | | `glod` | `git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset'` |
| glods | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --date=short | | `glods` | `git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --date=short` |
| glol | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' | | `glol` | `git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'` |
| glola | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --all | | `glola` | `git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --all` |
| glols | git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --stat | | `glols` | `git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --stat` |
| glo | git log --oneline --decorate | | `glo` | `git log --oneline --decorate` |
| glog | git log --oneline --decorate --graph | | `glog` | `git log --oneline --decorate --graph` |
| gloga | git log --oneline --decorate --graph --all | | `gloga` | `git log --oneline --decorate --graph --all` |
| glp | git log --pretty=\<format> | | `glp` | `git log --pretty=<format>` |
| glg | git log --stat | | `glg` | `git log --stat` |
| glgp | git log --stat --patch | | `glgp` | `git log --stat --patch` |
| gignored | git ls-files -v &#124; grep "^[[:lower:]]" | | `gignored` | `git ls-files -v \| grep "^[[:lower:]]"` |
| gfg | git ls-files &#124; grep | | `gfg` | `git ls-files \| grep` |
| gm | git merge | | `gm` | `git merge` |
| gma | git merge --abort | | `gma` | `git merge --abort` |
| gms | git merge --squash | | `gms` | `git merge --squash` |
| gmom | git merge origin/$(git_main_branch) | | `gmom` | `git merge origin/$(git_main_branch)` |
| gmum | git merge upstream/$(git_main_branch) | | `gmum` | `git merge upstream/$(git_main_branch)` |
| gmtl | git mergetool --no-prompt | | `gmtl` | `git mergetool --no-prompt` |
| gmtlvim | git mergetool --no-prompt --tool=vimdiff | | `gmtlvim` | `git mergetool --no-prompt --tool=vimdiff` |
| gl | git pull | | `gl` | `git pull` |
| gpr | git pull --rebase | | `gpr` | `git pull --rebase` |
| gup | git pull --rebase | | `gup` | `git pull --rebase` |
| gupa | git pull --rebase --autostash | | `gupa` | `git pull --rebase --autostash` |
| gupav | git pull --rebase --autostash --verbose | | `gupav` | `git pull --rebase --autostash --verbose` |
| gupv | git pull --rebase --verbose | | `gupv` | `git pull --rebase --verbose` |
| ggu | git pull --rebase origin $(current_branch) | | `ggu` | `git pull --rebase origin $(current_branch)` |
| gupom | git pull --rebase origin $(git_main_branch) | | `gupom` | `git pull --rebase origin $(git_main_branch)` |
| gupomi | git pull --rebase=interactive origin $(git_main_branch) | | `gupomi` | `git pull --rebase=interactive origin $(git_main_branch)` |
| ggpull | git pull origin "$(git_current_branch)" | | `ggpull` | `git pull origin "$(git_current_branch)"` |
| ggl | git pull origin $(current_branch) | | `ggl` | `git pull origin $(current_branch)` |
| gluc | git pull upstream $(git_current_branch) | | `gluc` | `git pull upstream $(git_current_branch)` |
| glum | git pull upstream $(git_main_branch) | | `glum` | `git pull upstream $(git_main_branch)` |
| gp | git push | | `gp` | `git push` |
| gpd | git push --dry-run | | `gpd` | `git push --dry-run` |
| gpf! | git push --force | | `gpf!` | `git push --force` |
| ggf | git push --force origin $(current_branch) | | `ggf` | `git push --force origin $(current_branch)` |
| gpf | git push --force-with-lease --force-if-includes (git version >= 2.30) | | `gpf` | On Git >= 2.30: `git push --force-with-lease --force-if-includes` |
| gpf | git push --force-with-lease (git version < 2.30) | | `gpf` | On Git < 2.30: `git push --force-with-lease` |
| ggfl | git push --force-with-lease origin $(current_branch) | | `ggfl` | `git push --force-with-lease origin $(current_branch)` |
| gpsup | git push --set-upstream origin $(git_current_branch) | | `gpsup` | `git push --set-upstream origin $(git_current_branch)` |
| gpsupf | git push --set-upstream origin $(git_current_branch) --force-with-lease --force-if-includes (git version >= 2.30) | | `gpsupf` | On Git >= 2.30: `git push --set-upstream origin $(git_current_branch) --force-with-lease --force-if-includes` |
| gpsupf | git push --set-upstream origin $(git_current_branch) --force-with-lease (git version < 2.30) | | `gpsupf` | On Git < 2.30: `git push --set-upstream origin $(git_current_branch) --force-with-lease` |
| gpv | git push --verbose | | `gpv` | `git push --verbose` |
| gpoat | git push origin --all && git push origin --tags | | `gpoat` | `git push origin --all && git push origin --tags` |
| gpod | git push origin --delete | | `gpod` | `git push origin --delete` |
| ggpush | git push origin "$(git_current_branch)" | | `ggpush` | `git push origin "$(git_current_branch)"` |
| ggp | git push origin $(current_branch) | | `ggp` | `git push origin $(current_branch)` |
| gpu | git push upstream | | `gpu` | `git push upstream` |
| grb | git rebase | | `grb` | `git rebase` |
| grba | git rebase --abort | | `grba` | `git rebase --abort` |
| grbc | git rebase --continue | | `grbc` | `git rebase --continue` |
| grbi | git rebase --interactive | | `grbi` | `git rebase --interactive` |
| grbo | git rebase --onto | | `grbo` | `git rebase --onto` |
| grbs | git rebase --skip | | `grbs` | `git rebase --skip` |
| grbd | git rebase $(git_develop_branch) | | `grbd` | `git rebase $(git_develop_branch)` |
| grbm | git rebase $(git_main_branch) | | `grbm` | `git rebase $(git_main_branch)` |
| grbom | git rebase origin/$(git_main_branch) | | `grbom` | `git rebase origin/$(git_main_branch)` |
| gr | git remote | | `gr` | `git remote` |
| grv | git remote --verbose | | `grv` | `git remote --verbose` |
| gra | git remote add | | `gra` | `git remote add` |
| grrm | git remote remove | | `grrm` | `git remote remove` |
| grmv | git remote rename | | `grmv` | `git remote rename` |
| grset | git remote set-url | | `grset` | `git remote set-url` |
| grup | git remote update | | `grup` | `git remote update` |
| grh | git reset | | `grh` | `git reset` |
| gru | git reset -- | | `gru` | `git reset --` |
| grhh | git reset --hard | | `grhh` | `git reset --hard` |
| gpristine | git reset --hard && git clean -dffx | | `gpristine` | `git reset --hard && git clean -dffx` |
| groh | git reset origin/$(git_current_branch) --hard | | `groh` | `git reset origin/$(git_current_branch) --hard` |
| grs | git restore | | `grs` | `git restore` |
| grss | git restore --source | | `grss` | `git restore --source` |
| grst | git restore --staged | | `grst` | `git restore --staged` |
| gunwip | git rev-list --max-count=1 --format="%s" HEAD &#124; grep -q "--wip--" && git reset HEAD~1 | | `gunwip` | `git rev-list --max-count=1 --format="%s" HEAD \| grep -q "--wip--" && git reset HEAD~1` |
| grev | git revert | | `grev` | `git revert` |
| grm | git rm | | `grm` | `git rm` |
| grmc | git rm --cached | | `grmc` | `git rm --cached` |
| gcount | git shortlog --summary -n | | `gcount` | `git shortlog --summary -n` |
| gsh | git show | | `gsh` | `git show` |
| gsps | git show --pretty=short --show-signature | | `gsps` | `git show --pretty=short --show-signature` |
| gstall | git stash --all | | `gstall` | `git stash --all` |
| gstu | git stash --include-untracked | | `gstu` | `git stash --include-untracked` |
| gstaa | git stash apply | | `gstaa` | `git stash apply` |
| gstc | git stash clear | | `gstc` | `git stash clear` |
| gstd | git stash drop | | `gstd` | `git stash drop` |
| gstl | git stash list | | `gstl` | `git stash list` |
| gstp | git stash pop | | `gstp` | `git stash pop` |
| gsta | git stash push (git version >= 2.13) | | `gsta` | On Git >= 2.13: `git stash push` |
| gsta | git stash save (git version < 2.13) | | `gsta` | On Git < 2.13: `git stash save` |
| gsts | git stash show --text | | `gsts` | `git stash show --text` |
| gst | git status | | `gst` | `git status` |
| gss | git status --short | | `gss` | `git status --short` |
| gsb | git status --short -b | | `gsb` | `git status --short -b` |
| gsi | git submodule init | | `gsi` | `git submodule init` |
| gsu | git submodule update | | `gsu` | `git submodule update` |
| gsd | git svn dcommit | | `gsd` | `git svn dcommit` |
| git-svn-dcommit-push | git svn dcommit && git push github $(git_main_branch):svntrunk | | `git-svn-dcommit-push` | `git svn dcommit && git push github $(git_main_branch):svntrunk` |
| gsr | git svn rebase | | `gsr` | `git svn rebase` |
| gsw | git switch | | `gsw` | `git switch` |
| gswc | git switch -c | | `gswc` | `git switch -c` |
| gswd | git switch $(git_develop_branch) | | `gswd` | `git switch $(git_develop_branch)` |
| gswm | git switch $(git_main_branch) | | `gswm` | `git switch $(git_main_branch)` |
| gts | git tag -s | | `gts` | `git tag -s` |
| gtv | git tag &#124; sort -V | | `gtv` | `git tag \| sort -V` |
| gignore | git update-index --assume-unchanged | | `gignore` | `git update-index --assume-unchanged` |
| gunignore | git update-index --no-assume-unchanged | | `gunignore` | `git update-index --no-assume-unchanged` |
| gwch | git whatchanged -p --abbrev-commit --pretty=medium | | `gwch` | `git whatchanged -p --abbrev-commit --pretty=medium` |
| gwt | git worktree | | `gwt` | `git worktree` |
| gwtls | git worktree list | | `gwtls` | `git worktree list` |
| gwtmv | git worktree move | | `gwtmv` | `git worktree move` |
| gwtrm | git worktree remove | | `gwtrm` | `git worktree remove` |
| gk | gitk --all --branches &! | | `gk` | `gitk --all --branches &!` |
| gke | gitk --all $(git log --walk-reflogs --pretty=%h) &! | | `gke` | `gitk --all $(git log --walk-reflogs --pretty=%h) &!` |
| gtl | gtl(){ git tag --sort=-v:refname -n --list ${1}\* }; noglob gtl | | `gtl` | `gtl(){ git tag --sort=-v:refname -n --list ${1}\* }; noglob gtl` |
### Main branch preference ### Main branch preference
@ -222,49 +222,48 @@ These are aliases that have been removed, renamed, or otherwise modified in a wa
receive further support. receive further support.
| Alias | Command | Modification | | Alias | Command | Modification |
| :----- | :----------------------------------------------------- | :----------------------------------------------------- | | :------- | :----------------------------------------------------- | :-------------------------------------------------------- |
| gap | `git add --patch` | new alias `gapa` | | `gap` | `git add --patch` | New alias: `gapa`. |
| gcl | `git config --list` | new alias `gcf` | | `gcl` | `git config --list` | New alias: `gcf`. |
| gdc | `git diff --cached` | new alias `gdca` | | `gdc` | `git diff --cached` | New alias: `gdca`. |
| gdt | `git difftool` | no replacement | | `gdt` | `git difftool` | No replacement. |
| ggpull | `git pull origin $(current_branch)` | new alias `ggl` (`ggpull` still exists for now though) | | `ggpull` | `git pull origin $(current_branch)` | New alias: `ggl`. (`ggpull` still exists for now though.) |
| ggpur | `git pull --rebase origin $(current_branch)` | new alias `ggu` (`ggpur` still exists for now though) | | `ggpur` | `git pull --rebase origin $(current_branch)` | New alias: `ggu`. (`ggpur` still exists for now though.) |
| ggpush | `git push origin $(current_branch)` | new alias `ggp` (`ggpush` still exists for now though) | | `ggpush` | `git push origin $(current_branch)` | New alias: `ggp`. (`ggpush` still exists for now though.) |
| gk | `gitk --all --branches` | now aliased to `gitk --all --branches` | | `gk` | `gitk --all --branches` | Now aliased to `gitk --all --branches`. |
| glg | `git log --stat --max-count = 10` | now aliased to `git log --stat --color` | | `glg` | `git log --stat --max-count=10` | Now aliased to `git log --stat --color`. |
| glgg | `git log --graph --max-count = 10` | now aliased to `git log --graph --color` | | `glgg` | `git log --graph --max-count=10` | Now aliased to `git log --graph --color`. |
| gwc | `git whatchanged -p --abbrev-commit --pretty = medium` | new alias `gwch` | | `gwc` | `git whatchanged -p --abbrev-commit --pretty = medium` | New alias: `gwch`. |
## Functions ## Functions
### Current ### Current
| Command | Description | | Command | Description |
| :--------------------- | :------------------------------------------------------------------------------------------------------- | | :----------------------- | :-------------------------------------------------------------------------------------------------------------- |
| current_branch | Return the name of the current branch | | `current_branch` | Returns the name of the current branch. |
| git_current_user_email | Returns the `user.email` config value (lives in lib/git.zsh) | | `git_current_user_email` | Returns the `user.email` config value. (Lives in `lib/git.zsh`.) |
| git_current_user_name | Returns the `user.name` config value (lives in lib/git.zsh) | | `git_current_user_name` | Returns the `user.name` config value. (Lives in `lib/git.zsh`.) |
| git_develop_branch | Returns the name of the develop branch: `dev`, `devel`, `development` if they exist, `develop` otherwise | | `git_develop_branch` | Returns the name of the development” branch: `dev`, `devel`, `development` if they exist, `develop` otherwise. |
| git_main_branch | Returns the name of the main branch: `main` if it exists, `master` otherwise | | `git_main_branch` | Returns the name of the main branch: `main` if it exists, `master` otherwise. |
| grename \<old> \<new> | Rename `old` branch to `new`, including in origin remote | | `grename <old> <new>` | Renames branch `<old>` to `<new>`, including on the origin remote. |
### Work in Progress (WIP) ### Work in Progress (WIP)
These features allow to pause a branch development and switch to another one (_"Work in Progress"_, or wip). These features allow you to pause developing one branch and switch to another one (_"Work in Progress"_, or
When you want to go back to work, just unwip it. “wip”). When you want to go back to work, just unwip it.
| Command | Description | | Command | Description |
| :--------------- | :---------------------------------------------- | | :----------------- | :---------------------------------------------- |
| gwip | Commit wip branch | | `gwip` | Commit wip branch |
| gunwip | Uncommit wip branch | | `gunwip` | Uncommit wip branch |
| gunwipall | Uncommit all recent `--wip--` commits | | `gunwipall` | Uncommit all recent `--wip--` commits |
| work_in_progress | Echoes a warning if the current branch is a wip | | `work_in_progress` | Echoes a warning if the current branch is a wip |
Note that `gwip` and `gunwip` are effectivly alias, but are also documented here to group all related WIP Note that `gwip` and `gunwip` are aliases, but are also documented here to group all related WIP features.
features.
### Deprecated functions ### Deprecated functions
| Command | Description | Reason | | Command | Description | Reason |
| :----------------- | :-------------------------------------- | :-------------------------------------------------------------- | | :------------------- | :-------------------------------------- | :--------------------------------------------------------------- |
| current_repository | Return the names of the current remotes | Didn't work properly. Use `git remote -v` instead (`grv` alias) | | `current_repository` | Return the names of the current remotes | Didn't work properly. Use `git remote -v` instead (`grv` alias). |