Skip to content

Instantly share code, notes, and snippets.

@faddai
Last active December 16, 2015 07:59
Show Gist options
  • Save faddai/5403094 to your computer and use it in GitHub Desktop.
Save faddai/5403094 to your computer and use it in GitHub Desktop.
Bash alias for working in the terminal.
alias c="clear"
alias ll="ls -alH"
# Git Alias
alias gb="git branch"
alias gs="git status"
alias gss="git status -s"
alias gc="git checkout"
alias gbn="git checkout -b"
alias gd="git diff"
alias gtb="git branch -r"
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment