69 lines
1.2 KiB
INI
69 lines
1.2 KiB
INI
[user]
|
|
name = stanislas
|
|
email = stanislas@jouf.fr
|
|
|
|
[init]
|
|
defaultBranch = main
|
|
|
|
[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
|
|
|
|
[fetch]
|
|
prune = true
|
|
pruneTags = True
|
|
all = true
|
|
[pull]
|
|
rebase = true
|
|
[push]
|
|
autoSetupRemote = true
|
|
followTags = true
|
|
[commit]
|
|
verbose = true
|
|
[rebase]
|
|
autoStash = true
|
|
updateRefs = true
|
|
|
|
[color]
|
|
ui = auto
|
|
[column]
|
|
ui = auto
|
|
|
|
[branch]
|
|
sort = -committerdate
|
|
[tag]
|
|
sort = version:refname
|
|
[diff]
|
|
algorithm = histogram
|
|
colorMoved = plain
|
|
mnemonicPrefix = true
|
|
renames = true
|
|
[help]
|
|
autocorrect = prompt
|
|
|
|
[rerere]
|
|
enabled = true
|
|
autoupdate = true
|
|
|
|
[core]
|
|
excludesfile = ~/.gitignore
|
|
editor = vi
|
|
|
|
|