Skip to content

Instantly share code, notes, and snippets.

@richardhartme
Last active December 15, 2015 09:09
Show Gist options
  • Select an option

  • Save richardhartme/5236099 to your computer and use it in GitHub Desktop.

Select an option

Save richardhartme/5236099 to your computer and use it in GitHub Desktop.
Git .gitconfig
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = ~/.gitignore
editor = /usr/bin/vim
pager = less -+$LESS -R
[alias]
s = status
c = commit
a = add
di = diff
dic = diff --cached
pl = pull
ph = push
plre = pull --rebase
out = log origin..HEAD
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
[user]
name = Richard Hart
email = richard@ur-ban.com
[github]
user = Hates
token = ****
[mergetool]
keepBackup = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment