aboutsummaryrefslogtreecommitdiffstats
path: root/gitconfig
blob: 910eb7337f82427c72f75b446be4b24cc8cf617c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[user]
	email = y@yulqen.org
	name = Matthew Lemon
[core]
  excludesfile = /home/lemon/.gitignore_global
  quotepath = false
  editor = /home/lemon/.local/bin/vim
	autocrlf = input
[sendemail]
    smtpserver = smtp.purelymail.com
    smtpuser = mrlemon@purelymail.com
#   smtpencryption = tls
    smtpserverport = 587
[alias]
  co = checkout
  ci = commit
  br = branch
  p = push origin master
  # friendly statuses
  st = status -sb --ignore-submodules=all
  # Add all unstaged changes/removals and commit. All you gotta do here is pass the commit message.
  # Example: git ac 'My commit message'
  ac = !git add -A && git commit -m
  # Pretty looking log
  lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
	d = difftool
[push]
	default = simple
[diff]
	tool = vimdiff
    algorithm = histogram
[difftool]
	prompt = false
[color]
    ui = true
    branch = true
    diff = true
    interactive = true
    status = true
    log = false
[pull]
	rebase = true
[init]
	defaultBranch = master
[filter "lfs"]
	clean = git-lfs clean -- %f
	smudge = git-lfs smudge -- %f
	process = git-lfs filter-process
	required = true
[credential]
	helper = cache