-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
34 lines (34 loc) · 897 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
[user]
name = Lucas Machado
email = lucas.machado@verint.com
[alias]
br = branch
cm = commit
co = checkout
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
st = status
sls = stash list
df = diff
fx = fetch --all -p
sn = stash save
tbr = rev-parse --abbrev-ref HEAD
cp = cherry-pick
change = "! git log --oneline --no-decorate --no-merges $(git tag | tail -n 2 | head -n 1)..."
pullo = "! git pull origin $(git tbr)"
pusho = "! git push origin $(git tbr)"
[color]
ui = auto
[core]
excludesfile = ~/dotfiles/.gitignore_global
autocrlf = input
whitespace = cr-at-eol
editor = vim
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential]
helper = store
[init]
templatedir = ~/dotfiles/git-templates