Skip to content

Instantly share code, notes, and snippets.

@frouo
Last active March 21, 2024 10:44
Show Gist options
  • Save frouo/f82ca02aade4d42fc83582cca969540c to your computer and use it in GitHub Desktop.
Save frouo/f82ca02aade4d42fc83582cca969540c to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = François Rouault
email = [email protected]
[init]
defaultBranch = main
[alias]
lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
amend = commit --amend --no-edit
ri = rebase -i
st = status
rc = rebase --continue
ci = commit
co = checkout
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
[interactive]
diffFilter = diff-so-fancy --patch
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[add "interactive"]
useBuiltin = false
[push]
default = current
[credential]
helper = store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment