Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This is my global Git/Bash userprofile. All files are named with a dot at the beginning (e.g. ~/.bash_profile, ~/.git-completion.bash, ~/, ~/.gitconfig, ~/.gitignore_global)
if [ -f ~/ ]; then
source ~/
export PS1='user[\W]$(__git_ps1 "(%s)"): '
alias htdocs='cd /Applications/MAMP/htdocs'
name = username
email =
excludesfile = /Users/username/.gitignore_global
editor = vim
autocrlf = input
whitespace = trailing-space,space-before-tab
ui = true
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
helper = osxkeychain
autocorrect = 1
whitespace = fix
# Thumbnails
# Files that might appear on external disk
# Icon must ends with two \r.
# PhpStorm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.