-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
27 lines (27 loc) · 1.11 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
[core]
editor = \"C:\\Users\\Administrator\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\\code\" --wait
symlinks = true
longpaths = true
[user]
name = sanekmihailow
email = [email protected]
[diff]
tool = meld
[difftool "meld"]
path = C:/Program Files/Meld/Meld.exe
[mergetool]
keepBackup = false
[alias]
branches = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))'
logs = log --graph --abbrev-commit --decorate --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)'
st = status --short --branch
cherryv = cherry --verbose
commend = commit --amend --no-edit
pushforce = push --force-with-lease
sth = stash -u
clm = clean -n
a = add --all
cm = commit -m
cv = cherry --abbrev -v
sw = switch
apdate = "!f() { git add . | git commit -m \"$1 $2 $3 $4 $5 $6 $7 $8 $9 ${10} ${11}\"; }; f"