summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-04-29 19:17:34 +0100
committerAlan Pearce2013-04-29 19:17:34 +0100
commit3d6840199625a81cd5c86ed815909f48dd928d87 (patch)
tree07d37c07717d5becae6b60d64c6b8527b7e2ea5d
parent9499ba6479c2327f9dd5934d4363b7208d448e3d (diff)
downloadnixfiles-3d6840199625a81cd5c86ed815909f48dd928d87.tar.lz
nixfiles-3d6840199625a81cd5c86ed815909f48dd928d87.tar.zst
nixfiles-3d6840199625a81cd5c86ed815909f48dd928d87.zip
Git: initial configuration
-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