-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
40 lines (27 loc) · 940 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
38
39
40
[user]
name = Isaias Silva
email = 108680376+Isaiaspereiraes@users.noreply.github.com
[github]
user = isabps
[init]
defaultBranch = main
[color]
ui = true
[core]
editor = nvim --wait
[format]
pretty = %Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset %C(bold yellow)%GK%Creset
graph = true
[alias]
s = status
cm = commit -m
cma = commit -am
# co = checkout
cob = checkout -b
del = branch -D
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
save = !git add -A && git commit -m 'chore: commit save point' && git push origin ma*
undo = reset HEAD~1 --mixed
res = !git reset --hard
done = !git push origin HEAD
lg = !git log --pretty=format:\"%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) [%an]\" --abbrev-commit -30