DEV Community

Discussion on: What are your CLI go to commands and aliases?

Collapse
 
molly profile image
Molly Struve (she/her) • Edited

At the beginning of the year I broke my arm and was forced to type one handed for 3 weeks. It was ROUGH but because of it I now have a list of super simple 2 letter aliases which I still use :D

 alias rs="git reset --soft HEAD^"
 alias pp="git pull origin master"
 alias mm="git checkout master"
 alias ss="git status"
 alias aa="git add ."
 alias gc="git checkout ."
 alias gcb="git checkout -b"
 alias gp="git push origin HEAD"
 alias gf="git fetch origin"
 alias gr="git rebase origin/master"