summary refs log tree commit diff stats
path: root/gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'gitconfig')
-rw-r--r--gitconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/gitconfig b/gitconfig
new file mode 100644
index 00000000..7e6c1783
--- /dev/null
+++ b/gitconfig
@@ -0,0 +1,21 @@
+[user]
+	email = alan@alanpearce.co.uk
+[color]
+	branch = auto
+	diff = auto
+	status = auto
+	ui = true
+[push]
+	default = simple
+[alias]
+	st = status -sb
+	ci = commit
+	br = branch
+	co = checkout
+	ready = rebase -i @{u}
+	lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
+	standup = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --since yesterday --author alan
+	purr = pull --rebase
+	ignored = ls-files --others -i --exclude-standard
+[github]
+	user = alan@alanpearce.co.uk
\ No newline at end of file