-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
46 lines (46 loc) · 1.23 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
[user]
name = Marcelo Zambrana Villarroel
email = marcech.am@gmail.com
[alias]
sl = stash list
sv = stash save
sph = stash push -um
sa = stash apply
sp = stash pop
sd = stash drop
sw = stash show -p
rb = rebase -i
co = checkout
com = checkout main
cod = checkout dev
ci = commit -m
cane = commit --amend --no-edit
ca = !git add -A && git commit -m
st = status
br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate
df = diff
dfno = diff --name-only main dev
dfns = diff --name-status main dev
rmt = remote -v
pl = pull
ps = push
cl = clone
lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
ln = log --graph --oneline --all
conf = config --global -e
cob = checkout -b
pom = push -u origin main
plom = pull origin main
pod = push -u origin dev
save = !git add -A && git commit -m 'SAVEPOINT'
la = "!git config -l | grep alias | cut -c 7-"
[push]
default = current
[color]
# Enable colors in color-supporting terminals
ui = auto
[core]
autocrlf = input
editor = vi
[init]
defaultBranch = main