summaryrefslogtreecommitdiff
path: root/gitconfig
blob: c4f719b480ac70f6f0ac779028b090bdf8e82b5f (plain)
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
52
53
54
55
56
57
58
[alias]
  aa = add --all
  amend = commit --amend
  b = branch
  ci = commit
  co = checkout
  cop = commit -m 'style: fix linter errors'
  dc = diff --cached
  di = diff -w
  lga = log --graph --all --decorate --oneline
  lg = log -p
  lola = log --graph --decorate --oneline --all
  lol = log --graph --decorate --oneline
  shame = blame -w -M
  st = status -s
[color]
  ui = true
[core]
  autocrlf = false
  commitGraph = true
  editor = vim
  excludesfile = ~/.gitignore_global
  symlinks = false
[diff]
  tool = vimdiff
  compactionHeuristic = true
  algorithm = patience
[fetch]
  prune = true
[gc]
  writeCommitGraph = true
[github]
  user = xlgmokha
[help]
  autocorrect = 1
[init]
  defaultBranch = main
[log]
  date = local
[merge]
  tool = vimdiff
[protocol]
  version = 2
[protocol "https"]
  allow = always
[protocol "ssh"]
  allow = always
[pull]
  ff = only
  rebase = true
[push]
  default = simple
[rerere]
  enabled = true
[user]
  name = mo khan
  email = mo@mokhan.ca
  signingkey = 0xA26598E238F7A5D9