-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
32 lines (32 loc) · 809 Bytes
/
.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
[core]
editor = vim
[user]
name = Nick Smith
email = nick.smith@cern.ch
github = nsmith-
[alias]
s = status
st = status -uno
c = commit
b = branch --verbose
co = checkout
unstage = reset HEAD --
l = log --decorate --stat
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
[push]
default = current
[pull]
rebase = true
[init]
defaultBranch = main
[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 = !/usr/local/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/local/bin/gh auth git-credential