diff options
author | Santo Cariotti <santo@dcariotti.me> | 2020-11-14 11:01:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-14 11:01:12 +0100 |
commit | 2359e388ea7b3292dbc6b6aacb01791ccc5eba2e (patch) | |
tree | 2415f88182028f7643d17ba01299cc0d4f5ffcf3 | |
parent | 82c5f99542f9bf8d29cc0ccd7d57a52c4c5400c4 (diff) |
Create .gitconfig
-rw-r--r-- | git/.gitconfig | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig new file mode 100644 index 0000000..6a91637 --- /dev/null +++ b/git/.gitconfig @@ -0,0 +1,34 @@ +[user] + name = Santo Cariotti + email = santo@dcariotti.me +[alias] + ci = commit + co = checkout + logs = log --graph --branches --remotes --tags --pretty=format':%C(yellow)%h%C(green)%d%Creset %s %C(yellow)|%Creset %C(cyan)%an <%ae> %C(yellow)| %C(white)%aD %C(red)(%ar)%Creset' + s = status + fd = "!f() { git l --grep=$1; }; f" + amend = commit --amend +[credential] + helper = store +[core] + editor = vim + pager = delta +[init] + defaultBranch = main +[grep] + lineNumber = true +[color "grep"] + lineNumber = yellow + match = red bold + filename = cyan +[merge] + tool = vimdiff + conflictstyle = diff3 +[mergetool] + prompt = false +[interactive] + diffFilter = delta --color-only +[delta] + features = side-by-side line-numbers decorations +[pull] + rebase = false |