mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-08-05 21:44:26 +08:00
feat(git): add gswm and gswd aliases (#9897)
Co-authored-by: Nathaniel Young <nathanielyoung95070@gmail.com>
This commit is contained in:
co-authored by
Nathaniel Young
parent
5fb204fa74
commit
1c9a64ece6
@@ -169,6 +169,8 @@ plugins=(... git)
|
||||
| gsu | git submodule update |
|
||||
| gsw | git switch |
|
||||
| gswc | git switch -c |
|
||||
| gswm | git switch $(git_main_branch) |
|
||||
| gswd | git switch $(git_develop_branch) |
|
||||
| gts | git tag -s |
|
||||
| gtv | git tag \| sort -V |
|
||||
| gtl | gtl(){ git tag --sort=-v:refname -n -l ${1}* }; noglob gtl |
|
||||
|
||||
Reference in New Issue
Block a user