Alexandre Dos Reis

Raccourci git Oh-My-Zsh

Oh-My-Zsh comprend des raccourcis pour Git et permettent de taper la plupart des commandes en seulement quelques charactères.

Raccourci pour git status

$ gst

Raccourci pour git add

$ ga

Raccourci pour git commit -v --no-edit --amend

$ gcn!

Raccourci pour git checkout <master|main>

$ gcm

Raccourci pour git checkout ma-branche

$ gco ma-branche

Raccourci pour git checkout -b ma-branche

$ gcb ma-branche

Raccourci pour git push

$ gp

Raccourci pour git pull

$ gl

Ressources