-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
executable file
·62 lines (62 loc) · 1.44 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# This is Git's per-user configuration file.
[user]
name = Roman Kotenko
# email = ;)
[alias]
a = add
br = branch
c = commit
cm = commit -m
cam = commit -a -m
cln = clean -dfx
cp = cherry-pick
cpa = cherry-pick --abort
cpc = cherry-pick --continue
ct = checkout
ctb = checkout -b
d = diff --diff-filter=d
dfn = diff --name-only
f = fetch
fuckit = reset --hard
graph = log --graph --pretty=format:'%Cred%h%Creset -%C(red)%d%Creset %s %Cgreen(%cd) %C(cyan)[%an]%Creset' --abbrev-commit --date=short
last = log -n 1
lastd = diff HEAD~1
lastn = log -n
mg = merge
mga = merge --abort
mgc = merge --continue
mgt = mergetool
pl = pull
rs = reset
rs-undo = reset --quiet HEAD@{1}
s = status
ss = status -s
stss = stash save
stsa = stash apply
stsd = stash drop
stsp = stash pop
stsl = stash list
subupd = submodule update --init --recursive
undo = reset HEAD~1
wta = worktree add
wtl = worktree list
wtr = worktree remove
[color "status"]
changed = red bold
untracked = red bold
added = green bold
[color "diff"]
old = red bold
new = green bold
meta = cyan
[credential]
helper = store
[init]
defaultBranch = main
[submodule]
recurse = true
# [filter "lfs"]
# clean = git-lfs clean -- %f
# smudge = git-lfs smudge -- %f
# process = git-lfs filter-process
# required = true