-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
executable file
·46 lines (44 loc) · 1.46 KB
/
.gitconfig
File metadata and controls
executable file
·46 lines (44 loc) · 1.46 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
[user]
name = Aaron Gonzales
email = "aagonzales@nvidia.com"
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[credential]
[alias]
co = checkout
br = branch
type = cat-file -t
dump = cat-file -p
unstaged-tracked = status --short | grep '^ .' | awk '{print $2}'
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short -25
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate -25
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat -100
la = "!git config -l | grep alias | cut -c 7-"
rebase-latest-main = '!git fetch && git rebase -i origin/main'
diff-words = diff --color-words='[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+'
stag = tag -l --sort=v:refname
restore-staged = restore --staged .
add-signoffs = git rebase main --signoff
restore-all = !git restore --staged . && git restore .
br-sort = !git branch --sort=-committerdate --format=\"%(committerdate:format:%Y-%m-%d %H:%M) %(refname:short)\" | awk \"{printf \\\"\\033[32m%s %s \\033[33m%s\\033[0m\\n\\\", \\$1, \\$2, \\$3}\"
[color]
ui = auto
[core]
excludesfile = /Users/aagonzales/dotfiles/gitconfigs/.gitignore_global
pager = less
autocrlf = input
[push]
default = simple
autoSetupRemote = true
[safe]
directory = *
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[http]
postBuffer = 257286400
[pager]
branch = false