Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 83fc5f3

Browse files
add delta for better diff
1 parent de223ea commit 83fc5f3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,12 @@ git apply --3way some.patch # apply a patch like a stash
371371
git worktree add -b hotfix ~/code/hotfix master
372372
git worktree list
373373
git worktree remove hotfix
374+
375+
# Use delta for better git diff outputs
376+
# https://github.com/dandavison/delta
377+
brew install git-delta
378+
git config --global core.pager "delta --line-numbers --dark"
379+
git config --global delta.side-by-side true
374380
```
375381

376382
[Atlassian Git Tutorials](https://www.atlassian.com/git/tutorials)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /