DEV Community

Thibaut Andrieu
Thibaut Andrieu

Posted on

Use Git Aliases to Improve Your Productivity

Copy/past those lines at the end of your ~/.bashrc. Your kinesthetic memory will be grateful.

alias gf='git fetch'
alias gch='git checkout'
alias grh='git reset --hard'
alias gri='git rebase -i'
alias gcp='git cherry-pick'
Enter fullscreen mode Exit fullscreen mode

Top comments (0)