diff options
Diffstat (limited to 'dot_gitconfig')
-rw-r--r-- | dot_gitconfig | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dot_gitconfig b/dot_gitconfig new file mode 100644 index 0000000..081dc4c --- /dev/null +++ b/dot_gitconfig @@ -0,0 +1,49 @@ +[user] + name = Santo Cariotti + email = santo@dcariotti.me + signingkey = C9B7C8FD3701C2C6 +[alias] + amend = commit --amend --verbose + ci = commit --verbose + co = checkout + cp = cherry-pick + di = diff + dis = diff --staged + fd = "!f() { git log --grep=$1; }; f" + logs = log --graph --branches --remotes --tags --pretty=format':%C(yellow)%h%C(green)%d%Creset %C(cyan)%an <%ae> %Creset%C(white)%aD %C(red)(%ar)\n%s%Creset\n' + st = status +[credential] + helper = store +[core] + editor = nvim -u ~/.config/nvim/init_clean.vim + ; pager = bat -n --style=plain + ; pager = delta + excludesFile = ~/.gitignore +[init] + defaultBranch = main +[grep] + lineNumber = true +[color "grep"] + lineNumber = yellow + match = red bold + filename = cyan +[merge] + tool = nvimdiff + conflictstyle = diff3 +[mergetool] + prompt = false +; [interactive] +; diffFilter = delta --color-only +; [delta] +; features = line-numbers decorations +[pull] + rebase = false +[diff] + ; external = difft + algorithm = histogram +[safe] + directory = /home/santo/Documents/Notes +[url "git@github.com:"] + pushInsteadOf = "https://github.com/" + pushInsteadOf = "github:" + pushInsteadOf = "git://github.com/" |