1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-15 23:08:16 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Carlo Sala
45571bfa03
fix(git): gpristine requires two --force flags
Fixes #11483
2023-02-08 11:35:48 +01:00
Carlo Sala
87f1941d27
docs(git): remove duplicated line 2023-02-07 16:17:07 +01:00
2 changed files with 1 additions and 2 deletions

View File

@ -120,7 +120,6 @@ plugins=(... git)
| gma | git merge --abort |
| gp | git push |
| gpd | git push --dry-run |
| gpf | git push --force-with-lease |
| gpf | git push --force-with-lease --force-if-includes (git version >= 2.30) |
| gpf | git push --force-with-lease (git version < 2.30) |
| gpf! | git push --force |

View File

@ -104,7 +104,7 @@ compdef _git gccd=git-clone
alias gcl='git clone --recurse-submodules'
alias gclean='git clean --interactive -d'
alias gpristine='git reset --hard && git clean --force -dx'
alias gpristine='git reset --hard && git clean --force -dfx'
alias gcm='git checkout $(git_main_branch)'
alias gcd='git checkout $(git_develop_branch)'
alias gcmsg='git commit --message'