summaryrefslogtreecommitdiffstats
path: root/.gitconfig
blob: cfed25cb829a1a43cb1a7f9d5b903a452c50710c (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
[init]
  defaultBranch = main
[color]
  ui = true
  status = auto
  branch = auto
[core]
  editor = vim
  excludesfile = ~/.gitignore_global
[merge]
  tool = vimdiff
[user]
  name = Ahmed AbdelHalim
  email = [email protected]
  username = a14m
  signingkey = 83786B48F734C4F7C2CEEC30D9FDD29DE1EA6405!
; [branch]
  ; autosetuprebase = always
[diff]
  algorithm = patience
[alias]
  st = status
  br = branch
  df = diff
  co = checkout
  cm = commit --verbose
  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
[includeIf "gitdir/i:~/Work/MBition/"]
  path = ~/.gitconfig.work.inc