-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
68 lines (52 loc) · 2.39 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[user]
name = Henry Oliver
email = [email protected]
[color]
ui = auto
diff = auto
remote = auto
status = auto
[push]
default = simple
autoSetupRemote = true
[pull]
rebase = false
[core]
eol = lf
editor = "nvim"
autocrlf = input
ignorecase = false
excludesfile = ~/.gitignore
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[mergetool "vimdiff"]
path = nvim
keepBackup = false
[credential]
helper = osxkeychain
[http]
cookiefile = ~/.gitcookies
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[alias]
ls = log --decorate --abbrev-commit --date=short --pretty=format:"%C(yellow)%h' '%C(blue)%ad' | '%C(green)[%cn]' '%C(reset)%s%C(red)%d"
lsd = diff-tree --no-commit-id --name-status -r
standup = log --since '1 day ago' --oneline --author "[email protected]"
up = !git push -u origin "$(git rev-parse --abbrev-ref HEAD)"
prune-branches = !ls "$(git rev-parse --show-toplevel)/.git/refs/heads/" | grep -v master | xargs git branch -d amend = commit --amend
bam = "!source ~/.scripts/git.sh && delete_local_merged_branches"
bamr = "!source ~/.scripts/git.sh && delete_remote_merged_branches"
summary = "!source ~/.scripts/git.sh && weekly_summary"
graph = log --graph --abbrev-commit --decorate --date=short --pretty=format:"%C(yellow)%h' '%C(blue)%ad' '|%C(red)%d' '%C(reset)%s' '%C(green)[%cn]" --all
graph1 = !"git graph2"
graph2 = !"git lg1-specific --all"
graph3 = !"git lg2-specific --all"
graph4 = !"git lg3-specific --all"
lg1-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'
lg2-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg3-specific = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset) %C(bold cyan)(committed: %cD)%C(reset) %C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'