Repository navigation
Expand file tree
/
Copy pathgitconfig
More file actions
executable file
·58 lines (57 loc) · 1.87 KB
/
Copy pathgitconfig
File metadata and controls
executable file
·58 lines (57 loc) · 1.87 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
58
[include]
path = ~/.config/git/config.private
[core]
excludesfile = ~/.gitignore_global
autocrlf = input
eol = lf
pager = diff-so-fancy | less --tabs=4 -RFX
[color]
au = auto
diff = auto
status = auto
branch = auto
interactive = auto
grep = auto
[push]
default = tracking
[alias]
s = status
co = checkout
cc = commit
ca = commit --amend
cp = cherry-pick
aa = add -u
lg = log --color --graph --pretty=format:'%Cred%h%Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue) <%an>%Creset' --abbrev-commit
ndiff = --no-pager diff
ls = log --color --pretty=format:'%Cred%h%Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue) <%an>%Creset' --abbrev-commit --decorate --numstat
who = shortlog -n -s --no-merges
count = "!f() { compareBranch=${1-master}; git rev-list --count HEAD ^$compareBranch; }; f"
squashbase = "!f() { branchName=${1-master}; commitCount=$(git count $branchName); git rebase -i HEAD~$commitCount; }; f"
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = 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
[credential "https://git.yale.edu"]
helper =
helper = !/opt/homebrew/bin/gh auth git-credential
[user]
name = gumadeiras
email = gumadeiras@users.noreply.github.com