forked from sontek/homies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_gitconfig
39 lines (34 loc) · 1.23 KB
/
_gitconfig
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
[user]
name = Doody Parizada
email = [email protected]
signingkey = 431D8C0648189B4D
[color]
diff = auto
status = auto
branch = auto
ui = auto
[push]
default = current #simple
[core]
editor = vim
pager = less -x1,5
autocrlf = false
[alias]
diverges = !bash -c 'diff -u <(git rev-list --first-parent "${1}") <(git rev-list --first-parent "${2:-HEAD}") | sed -ne \"s/^ //p\" | head -1' -
st = status -s -uno
ci = commit -S
br = branch
co = checkout
df = diff
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
up = !sh -c 'git pull --rebase --prune && git log --pretty=format:\"%Cred%ae %Creset- %C(yellow)%s %Creset(%ar)\" HEAD@{1}..'
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
oldest-ancestor = !zsh -c 'diff --old-line-format= --new-line-format= <(git rev-list --first-parent \"${1:-master}\") <(git rev-list --first-parent \"${2:-HEAD}\") | head -1' -
[url "[email protected]:"]
insteadOf = https://github.com/
[gpg]
program = /usr/local/MacGPG2/bin/gpg2
[commit]
gpgsign = true