Skip to content

Instantly share code, notes, and snippets.

@vitormil
Last active July 13, 2023 11:12
Show Gist options
  • Save vitormil/14d75d200ae0853edacf15238e302906 to your computer and use it in GitHub Desktop.
Save vitormil/14d75d200ae0853edacf15238e302906 to your computer and use it in GitHub Desktop.
git-delta
[init]
defaultBranch = master
[alias]
b = branch
aa = add --all
st = status
s = status -sb
co = checkout
ci = commit -v
cp = cherry-pick
di = diff
dc = diff --cached
amend = commit --amend
rr = remote -v
vv = branch -vv
fa = fetch --all
cl = clean -fd
[core]
...
pager = delta
[interactive]
...
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
[delta]
features = unobtrusive-line-numbers decorations
whitespace-error-style = 22 reverse
commit-style = yellow
file-style = brightyellow
minus-style = red
minus-non-emph-style = red
minus-emph-style = red 52
minus-empty-line-marker-style = normal "#3f0001"
zero-style = normal
plus-style = green
plus-non-emph-style = green
plus-emph-style = green 22
plus-empty-line-marker-style = normal "#ff00ff"
grep-file-style = blue
grep-line-number-style = blue
whitespace-error-style = reverse red
true-color = always
file-added-label = 🐣
file-modified-label = ✨
file-removed-label = 💥
file-renamed-label = 🤌፡
right-arrow = ➡️፡
hyperlinks = false
inspect-raw-lines = true
keep-plus-minus-markers = false
line-numbers = true
line-numbers-minus-style = "#a54248"
line-numbers-zero-style = "#33414a"
line-numbers-plus-style = "#6a8b68"
line-numbers-left-style = blue
line-numbers-right-style = blue
navigate = true
paging = auto
side-by-side = false
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-decoration-style = none
commit-style = raw
file-style = omit
hunk-header-decoration-style = yellow box
hunk-header-file-style = yellow
hunk-header-line-number-style = yellow
hunk-header-style = file line-number syntax
brew install git-delta
git diff 1.194.0...HEAD -- '*pom*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment