DEV Community

loading...

Discussion on: Git: Cheat Sheet (advanced)

Collapse
zaratedev profile image
Jonathan Zarate

Nice! :)

My favorite git aliases:

# Git Command
alias g="git"
alias gl="git log --pretty=oneline --graph --decorate --all"
alias gs="git status"
alias ga="git add"
alias gb="git branch"
alias gc="git commit"
alias gco="git checkout"
alias gp="git pull"
alias gps="git push"
alias gr="git rebase"
alias gri="git rebase -i HEAD~5"

:D

Collapse
maxpou profile image
Maxence Poutord Author

we almost got the same! :D