-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
54 lines (54 loc) · 1.45 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
[core]
editor = nvim
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
whitespace = red reverse
meta = yellow
frag = magenta
old = red
new = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
stnv = status . -- ':!vendor'
ci = commit -vs
br = branch
co = checkout
df = diff
dfs = !git --no-pager diff --stat
l = log --online
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
lga = log --graph --pretty=format:'%Cred%h%Creset %Cblue%an%Creset %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative --branches --remotes
branches = branch -a
last = log -1
remotes = remote -v
furb = "!echo \"Fetch upstream\"; git fetch upstream; echo \"Rebase\"; git rebase upstream/$(git rev-parse --abbrev-ref HEAD)"
fixup = "!git log -n 50 --pretty=format:'%h %s' --no-merges | fzf | cut -c -7 | xargs -o git commit --fixup"
pom = push origin main
[user]
email = nolan@nbrubaker.com
name = Nolan Brubaker
signingkey = 2EED772803E84726
[merge]
tool = vimdiff
[diff]
mnemonicprefix = true
renames = copies
[branch]
autosetupmerge = true
[push]
default = tracking
[format]
signOff = true
[rebase]
autosquash = true