Skip to content

Instantly share code, notes, and snippets.

@peterkinnaird
Forked from hofmannsven/README.md
Last active August 29, 2015 14:14
Show Gist options
  • Save peterkinnaird/231023ac6d73bad40fce to your computer and use it in GitHub Desktop.
Save peterkinnaird/231023ac6d73bad40fce to your computer and use it in GitHub Desktop.
if [ -f ~/.git-prompt.sh ]; then
source ~/.git-prompt.sh
export PS1='user[\W]$(__git_ps1 "(%s)"): '
fi
alias htdocs='cd /Applications/MAMP/htdocs'
[user]
name = username
email = name@domain.com
[core]
excludesfiles = /Users/username/.gitignore_global
editor = nano
autocrlf = input
whitespace = trailing-space,space-before-tab
[color]
ui = true
[alias]
st = status
co = checkout
ci = commit
br = branch
df = diff
dfs = diff --staged
logg = log --graph --decorate --oneline --abbrev-commit --all
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
stats = log -10 --dirstat=files,1,cumulative --ignore-blank-lines --abbrev-commit --oneline --graph --decorate
[credential]
helper = osxkeychain
[help]
autocorrect = 1
[apply]
whitespace = fix
.DS_STORE
.Trashes
.Spotlight-V100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment