diff options
author | Santo Cariotti <santo@dcariotti.me> | 2024-12-11 20:46:32 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2024-12-11 20:47:59 +0100 |
commit | f22f1723c01b56da14ae1de3491a78af1bc4c464 (patch) | |
tree | 030411c811d3474c4b322eca29d1bf8e96b7511f /dot_gitconfig | |
parent | d8713792f93473fe14e01d151529fb6ef139448f (diff) |
Dot files with `chezmoi`
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/" |