summaryrefslogtreecommitdiffstats
path: root/.gitconfig
blob: 1d0a9cb1780d92da42befd7469c233fae941c317 (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
52
53
54
55
56
57
58
59
60
[init]
  defaultBranch = main
[color]
  ui = true
  status = auto
  branch = auto
[column]
  ui = auto
  status = never
[core]
  editor = vim
  excludesfile = ~/.gitignore_global
[merge]
  tool = vimdiff
[user]
  name = Ahmed AbdelHalim
  email = [email protected]
  username = a14m
  signingkey = 83786B48F734C4F7C2CEEC30D9FDD29DE1EA6405!
[branch]
  sort = -committerdate
  ; autosetuprebase = always
[diff]
  algorithm = patience
[alias]
  st = status
  br = branch
  df = diff
  co = checkout
  cm = commit
  ls = log --oneline --decorate
  lg = log --oneline --graph
  ldf = diff --cached HEAD^
  locked = "!sh -c \"git ls-files -v | grep ^S | sed -e 's|S ||'\" -"
  lock = "!sh -c \"git update-index --skip-worktree $1\" -"
  unlock = "!sh -c \"git update-index --no-skip-worktree $1\" -"
  authors = shortlog -sne
[push]
  default = current
  autoSetupRemote = true
[pull]
  rebase = true
[fetch]
  prune = true
[commit]
  gpgSign = true
  verbose = true
[rerere]
  enabled = true
  autoUpdate = true
[tag]
  sort = -version:refname
  gpgSign = true
[maintenance]
  auto = true
  strategy = incremental
[help]
  autocorrect = prompt
[includeIf "gitdir/i:~/Work/MBition/"]
  path = ~/.gitconfig.work.inc