Files
dotfiles/.gitconfig
2025-11-25 21:36:31 +00:00

21 lines
736 B
INI

[user]
name = Julien Lutran
email = julien@lutran.fr
[push]
default = matching
[core]
editor = /usr/bin/vim -f
precomposeUnicode = true
[alias]
st = status
cp = cherry-pick
br = branch
co = checkout
lg = log --color --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --no-merges
undo = reset HEAD~
clean = !git reset --hard @{upstream}
wip = for-each-ref --sort='-authordate:iso8601' --format=' %(color:green)%(authordate:relative)%09%(color:white)%(refname:short)' refs/heads --no-merged
changelog = log --oneline --no-decorate --no-merges --pretty='tformat:- %s (%h)' ...origin/master
[init]
defaultBranch = main