Skip to content

Instantly share code, notes, and snippets.

@iloveitaly
Last active December 25, 2015 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iloveitaly/6979578 to your computer and use it in GitHub Desktop.
Save iloveitaly/6979578 to your computer and use it in GitHub Desktop.
Basic dotfiles for dreamhost
export EDITOR=nano
export LANG=en_US.UTF-8
alias ..="cd .."
alias ...="cd ../.."
alias g=git
alias glo='git log --graph --pretty=format:"%Cred%h%Creset - %s %Cgreen(%cr)%Creset" --abbrev-commit --date=relative'
alias gpb='g pull --rebase origin `git rev-parse --abbrev-ref HEAD`'
alias gsu='git submodule update --init --recursive'
alias wpupdate='g pull --ff-only origin master && gsu'
umask 002
PS1='[\h]$ '
[user]
name = Michael Bianco
email = iloveitaly@gmail.com
[core]
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
whitespace = fix,space-before-tab,tab-in-indent,trailing-space
editor = nano
[alias]
st = status -s
c = checkout
b = branch
d = diff
logv = log --pretty=fuller
# block direct git access
RedirectMatch 404 /\.git
xcache.var_size=100M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment