Skip to content

Instantly share code, notes, and snippets.

@jimjam88
Last active January 3, 2016 23:48
Show Gist options
  • Save jimjam88/8537015 to your computer and use it in GitHub Desktop.
Save jimjam88/8537015 to your computer and use it in GitHub Desktop.
Git config
[user]
name = James Morgan
email = james.morgan@bskyb.com
[alias]
ci = commit
st = status -sb
co = checkout
di = diff
dis = diff --staged
br = branch
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
cia = commit --amend
review = log HEAD --not @{u} --reverse -p
[core]
editor = vim
[color]
diff = auto
status = auto
branch = auto
ui = true
[merge]
tool = vimdiff
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment