Git con Alias de Oh My Zsh: Aumenta tu Productividad

Si estás usando Oh My Zsh, tienes acceso a un conjunto poderoso de alias de git que pueden acelerar significativamente tu flujo de trabajo de desarrollo. El plugin de git viene preinstalado y proporciona docenas de atajos para operaciones comunes de git. Alias Esenciales de Git Aquí están los alias de git más útiles que transformarán tu flujo de trabajo diario: Operaciones Básicas 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 # Estado e información gst # git status gss # git status --short gsb # git status --short --branch gl # git pull gp # git push ga # git add gaa # git add --all gc # git commit --verbose gcmsg # git commit --message gca # git commit --verbose --all gcam # git commit --all --message # Operaciones de rama gb # git branch gba # git branch --all gbd # git branch --delete gcb # git checkout -b gco # git checkout gcm # git checkout $(git_main_branch) gcd # git checkout $(git_develop_branch) Flujo de Trabajo Avanzado 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 # Registro e historial glog # git log --oneline --decorate --graph gloga # git log --oneline --decorate --graph --all glol # git log --graph --pretty=format con colores glola # git log --graph --pretty=format con colores --all glo # git log --oneline --decorate glg # git log --stat glgp # git log --stat --patch # Stashing gsta # git stash push (o save en git más antiguo) gstp # git stash pop gsts # git stash show --patch gstd # git stash drop gstl # git stash list gstaa # git stash apply gstc # git stash clear # Merge y rebase gm # git merge gma # git merge --abort gmc # git merge --continue grb # git rebase grba # git rebase --abort grbc # git rebase --continue grbi # git rebase --interactive Operaciones Remotas 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 # Gestión de remotos gr # git remote grv # git remote --verbose gra # git remote add grrm # git remote remove grmv # git remote rename grset # git remote set-url # Fetch y pull gf # git fetch gfa # git fetch --all --tags --prune gfo # git fetch origin gpr # git pull --rebase gpra # git pull --rebase --autostash gpu # git push upstream gpv # git push --verbose Diff y Show 1 2 3 4 5 6 7 # Operaciones de diff gd # git diff gdca # git diff --cached gds # git diff --staged gdw # git diff --word-diff gdt # git diff-tree --no-commit-id --name-only -r gsh # git show Mis Alias Más Utilizados Basándome en el trabajo diario de desarrollo, aquí están los alias que uso con más frecuencia: ...

julio 14, 2025 · 5 min · Elvin Guti