mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 18:29:50 +00:00
feat(git): add gccd alias to clone and cd into git repository (#8220)
Fixes #8216 Closes #8220 Co-authored-by: Nelson Estevão <nelsonmestevao@gmail.com>
This commit is contained in:
@@ -47,6 +47,7 @@ plugins=(... git)
|
||||
| gcb | git checkout -b |
|
||||
| gcf | git config --list |
|
||||
| gcl | git clone --recurse-submodules |
|
||||
| gccd | git clone --recurse-submodules "$@" && cd "$(basename $_ .git)" |
|
||||
| gclean | git clean -id |
|
||||
| gpristine | git reset --hard && git clean -dffx |
|
||||
| gcm | git checkout $(git_main_branch) |
|
||||
|
||||
Reference in New Issue
Block a user