Last active
February 24, 2025 07:17
-
-
Save ryo-ARAKI/578c36fa78ee5e148d7452dcb12fbb3b to your computer and use it in GitHub Desktop.
Git configuration file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
email = your email address | |
name = your GitHub username | |
[core] | |
editor = vim | |
pager = delta | |
autocrlf = input | |
quotepath = false | |
[color] | |
ui = true | |
[pull] | |
ff = only # enable fast-forward and not creating merge commit | |
[push] | |
default = current | |
[init] | |
defaultBranch = main | |
[fetch] | |
prune = true | |
[merge] | |
conflictstyle = diff3 # customised merge conflict output | |
[credential] | |
helper = cache # omit entering password | |
# delta configurations | |
[delta] | |
features = unobtrusive-line-numbers decorations | |
syntax-theme = Dracula | |
navigate = true # use n/N to move back/forward between diff sections | |
[delta "unobtrusive-line-numbers"] | |
line-numbers = true | |
line-numbers-zero-style = "#444444" | |
line-numbers-left-format = "{nm:>5}" | |
line-numbers-right-format = "{np:>5}│" | |
[delta "decorations"] | |
commit-decoration-style = bold yellow box ul | |
file-style = bold yellow ul | |
file-decoration-style = none | |
hunk-header-decoration-style = cyan box ul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment