Git Aliases para Power shell similar ao plugin do git do Oh My Zsh
Criei um módulo para o PowerShell para tornar o uso do Git mais rápido e intuitivo fora do WSL, com comandos reduzidos.
Por anos, utilizei o Oh My Zsh no Linux e adorava meu ambiente de trabalho totalmente personalizado. No entanto, fui obrigado a migrar para o Windows e me aventurei na personalização do PowerShell para transformá-lo em um ambiente leve e funcional, mantendo os comandos e ferramentas com os quais estava acostumado.
Como parte dessa adaptação, desenvolvi o Git Aliases, um módulo que simula um dos plugins do Oh My Zsh, oferecendo atalhos práticos para o Git no PowerShell.
📌 Confira o repositório Git-Aliases para mais detalhes e instruções de instalação.
O que o plugin faz?
Alias | Git Command |
---|---|
gst |
git status |
ga |
git add <file> |
gaa |
git add * |
gapa |
git add -p |
gcmsg |
git commit -m <message> |
gph |
git push |
gpl |
git pull |
gco |
git checkout <branch> |
gcb |
git checkout -b <branch> |
gcl |
git clone <repo> |
gcp |
git cherry-pick <commit> |
gcpa |
git cherry-pick --abort |
gcpc |
git cherry-pick --continue |
gb |
git branch |
gd |
git diff |
glg |
git log --oneline --graph --decorate --all |
gf |
git fetch |
gfa |
git fetch --all --tags --prune |
gh |
git help |
gmg |
git merge <branch> |
gma |
git merge --abort |
gmc |
git merge --continue |
gms |
git merge --squash <branch> |
gr |
git rebase <branch> |
gra |
git rebase --abort |
grc |
git rebase --continue |
grs |
git reset <commit> |
grsh |
git reset --hard |
grst |
git restore <file> |
grsts |
git restore --staged <file> |
grev |
git revert <commit> |
grm |
git rm <file> |
gs |
git stash |
gsp |
git stash pop |
gsl |
git stash list |
gsc |
git stash clear |
gtag |
git tag <tag> |
Interessante! Teria como adicionar mais opções do git log?