mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
feat(git): add gclf
alias (#12508)
This commit is contained in:
parent
dd4be1b6fb
commit
5233759206
@ -59,6 +59,7 @@ plugins=(... git)
|
|||||||
| `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` |
|
||||||
|
| `gclf` | `git clone --recursive --shallow-submodules --filter=blob:none --also-filter-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` |
|
||||||
@ -111,7 +112,7 @@ plugins=(... git)
|
|||||||
| `gfg` | `git ls-files \| grep` |
|
| `gfg` | `git ls-files \| grep` |
|
||||||
| `gm` | `git merge` |
|
| `gm` | `git merge` |
|
||||||
| `gma` | `git merge --abort` |
|
| `gma` | `git merge --abort` |
|
||||||
| `gmc` | `git merge --continue` |
|
| `gmc` | `git merge --continue` |
|
||||||
| `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)` |
|
||||||
|
@ -165,6 +165,7 @@ alias gcpa='git cherry-pick --abort'
|
|||||||
alias gcpc='git cherry-pick --continue'
|
alias gcpc='git cherry-pick --continue'
|
||||||
alias gclean='git clean --interactive -d'
|
alias gclean='git clean --interactive -d'
|
||||||
alias gcl='git clone --recurse-submodules'
|
alias gcl='git clone --recurse-submodules'
|
||||||
|
alias gclf='git clone --recursive --shallow-submodules --filter=blob:none --also-filter-submodules'
|
||||||
|
|
||||||
function gccd() {
|
function gccd() {
|
||||||
setopt localoptions extendedglob
|
setopt localoptions extendedglob
|
||||||
|
Loading…
Reference in New Issue
Block a user