-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
57 lines (56 loc) · 1.51 KB
/
.gitconfig
File metadata and controls
57 lines (56 loc) · 1.51 KB
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
[column]
ui = auto
[branch]
sort = -committerdate
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[push]
default = simple
autoSetupRemote = true
followTags = true
[fetch]
prune = true
pruneTags = true
all = true
[help]
autocorrect = prompt
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = cmygray
email = cmygray@users.noreply.github.com
[includeIf "gitdir:~/Workspace/"]
path = ~/Workspace/.gitconfig
[includeIf "gitdir:~/agent-workspace/"]
path = ~/agent-workspace/.gitconfig
[core]
precomposeunicode = true
quotepath = false
excludesfile = ~/.gitignore
editor = nvim
[format]
signoff = true
[alias]
ia = !git add $(git ls-files --modified --others --exclude-standard | fzf -m)
id = !git diff $(git ls-files --modified --others --exclude-standard | fzf -m)
ir = !git reset -- $(git ls-files --modified --others --exclude-standard | fzf -m)
ico = !git checkout -- $(git ls-files --modified --others --exclude-standard | fzf -m)
gone = ! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D
[push]
autoSetupRemote = true
[credential "https://github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential