-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
37 lines (37 loc) · 990 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
33
34
35
36
37
[core]
editor = vim
excludesfile = /Users/yu/.gitignore_global
askPass = true
autocrlf = input
[merge]
tool = vimdiff
[alias]
unstage = reset HEAD --
last = show -1 HEAD
co = checkout
ci = commit
cm = commit
cl = clone
st = status
br = branch
df = diff --ignore-space-at-eol
tree = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f "
[push]
default = upstream
[http]
postBuffer=52428800
[color]
ui = auto
[credential]
helper = cache --timeout=300
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[user]
name = atttx123
email = [email protected]
[pull]
rebase = false