29 lines
703 B
INI
29 lines
703 B
INI
[user]
|
|
name = stanislas
|
|
email = stanislas@jouf.fr
|
|
[init]
|
|
defaultBranch = main
|
|
[color]
|
|
ui = auto
|
|
[alias]
|
|
cg = config --global
|
|
aliases = !git config --get-regexp alias | sed -re 's/alias\\.(\\S*)\\s(.*)$/\\1 = \\2/g'
|
|
ci = commit
|
|
co = checkout
|
|
st = status
|
|
lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
|
|
oops = commit --amend --no-edit
|
|
pfl = push --force-with-lease
|
|
adda = add --a
|
|
uncommit = reset --soft HEAD~1
|
|
untrack = rm --cache --
|
|
rb = rebase
|
|
rbc = rebase --continue
|
|
rba = rebase --abort
|
|
rbi = rebase --interactive origin/main
|
|
cim = commit -m
|
|
cima = commit -a -m
|
|
br = branch
|
|
bra = branch -a
|
|
[pull]
|
|
rebase = true
|