Last active
December 25, 2015 12:49
-
-
Save iloveitaly/6979578 to your computer and use it in GitHub Desktop.
Basic dotfiles for dreamhost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]$ ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# block direct git access | |
RedirectMatch 404 /\.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xcache.var_size=100M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment