.gitconfig (875B)
1 [user] 2 email = anders@adamsgaard.dk 3 name = Anders Damsgaard 4 # gpg --list-secret-keys --keyid-format LONG 5 signkey = 5C959DF243CE4DD17A5B2610B790F4AD1BF858FE 6 [alias] 7 a = add 8 b = !git -P branch -a 9 c = commit -v 10 ca = commit -a -v 11 cp = !git commit -v && git push 12 cap = !git commit -a -v && git push 13 ch = checkout 14 d = !git -P diff -- 15 dh = diff HEAD^ 16 fix = !git commit --fixup $1 && git rebase -i --autosquash 17 l = log --pretty='format:%h %s%d' -n 20 --graph 18 p = push 19 pu = !git pull && git fetch --all 20 remotes = remote -v 21 s = status -sb 22 ss = status -uno 23 tags = tag -l 24 [color] 25 ui = false 26 branch = false 27 diff = false 28 interactive = false 29 status = false 30 log = false 31 [branch] 32 autosetuprebase = always 33 [push] 34 default = simple 35 [core] 36 excludesfile = ~/.gitignore 37 [credential] 38 helper = cache --timeout=36000 39 [pull] 40 rebase = true 41 [init] 42 defaultBranch = master