From 2359e388ea7b3292dbc6b6aacb01791ccc5eba2e Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sat, 14 Nov 2020 11:01:12 +0100 Subject: Create .gitconfig --- git/.gitconfig | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 git/.gitconfig (limited to 'git/.gitconfig') 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 -- cgit v1.2.3-18-g5258