Skip to content

Instantly share code, notes, and snippets.

@ellemedit
Created March 6, 2024 02:05
Show Gist options
  • Save ellemedit/58ef9fbef4acbec6582cfa13cc9328d3 to your computer and use it in GitHub Desktop.
Save ellemedit/58ef9fbef4acbec6582cfa13cc9328d3 to your computer and use it in GitHub Desktop.
my git config
# This is Git's per-user configuration file.
[user]
name = BaHwan Han
email = [email protected]
[push]
default = current
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
[merge]
conflictstyle = zdiff3
[diff]
colorMoved = default
algorithm = histogram
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
lg = lg1
[pull]
rebase = true
[rebase]
autosquash = true
autostash = true
[commit]
verbose = true
[rerere]
enabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment