Skip to content

Commit

Permalink
feat: improve git diff and git show
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Jun 6, 2024
1 parent dec3015 commit 557f3bf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion brew/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ brew "gh"
brew "eza"
brew "bat"
brew "make"
brew "diff-so-fancy"
brew "fzf"
brew "git-delta"

# Docker
brew "docker"
Expand Down
14 changes: 12 additions & 2 deletions git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,25 @@
prune = true

[core]
pager = diff-so-fancy | less --tabs=4 -RFX
pager = delta
excludesFile = ~/.gitignore
autocrlf = false

[commit]
template = ~/.gitmessage

[interactive]
diffFilter = diff-so-fancy --patch
diffFilter = delta --color-only

[init]
defaultBranch = main

[delta]
navigate = true
side-by-side = true

[merge]
conflictstyle = diff3

[diff]
colorMoved = default

0 comments on commit 557f3bf

Please sign in to comment.