-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
46 lines (46 loc) · 1.28 KB
/
gitconfig
File metadata and controls
46 lines (46 loc) · 1.28 KB
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 = Guillermo Robles
email = guillerobles1995@gmail.com
[core]
whitespace = trailing-space,space-before-tab,indent-with-non-tab
editor = emacs
autocrlf = input
[push]
default = matching
[alias]
a = add
aa = add --all
aco = commit -a
acom = commit -a -m
amend = commit -a --amend
b = branch
bad = bisect bad
ch = checkout
chb = checkout -b
co = commit
com = commit -m
d = diff
dc = diff --cached
ec = config --global -e
famend = commit --amend --no-edit
good = bisect good
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ls-ignored = ls-files --others -i --exclude-standard
plog = log --graph --pretty='format:%C(red)%d%C(reset) %C(yellow)%h%C(reset) %ar %C(green)%aN%C(reset) %s'
ss = status --short
st = status
ts = status
story = log --oneline --decorate --graph --all
story2 = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
undo = reset HEAD~1 --mixed
unstage = reset HEAD --
visual = !gitk
gui = !gitk
submodule-init = submodule update --init --recursive --remote
submodule-update = submodule update --recursive --remote
[branch]
autosetuprebase = always
autosetupmerge = always
[filter "tabspace"]
smudge = unexpand --tabs=4
clean = expand --tabs=4