• 0

How to create a permanent "alias"?

Follow three simple steps to create alias for your command line.

ls -la
vi .bashrc
Append your favorite alias at the bottom of the file. Below are some of my favorite aliases.
# alias for git commands

alias gb='git branch'
alias gc='git checkout'
alias gd='git diff'
alias gl='git log --oneline'
alias gs='git status'