DEV Community

Thibaut Andrieu
Thibaut Andrieu

Posted on

4 3

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs