Skip to content

Instantly share code, notes, and snippets.

@alex-moreno
Last active August 29, 2015 14:03
Show Gist options
  • Save alex-moreno/7c01f0fcc9432a5fc62c to your computer and use it in GitHub Desktop.
Save alex-moreno/7c01f0fcc9432a5fc62c to your computer and use it in GitHub Desktop.
my .bashrc
# git alias
alias gitlg="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
alias proxyon="export http_proxy='YOUR-PROXY:YOUR-PROXY-PORT'; export https_proxy='YOUR-PROXY:YOUR-PROXY-PORT'"
alias proxyoff="export http_proxy='';export https_proxy=''"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment