From 2d95a4b0b76e062b01a94dcc3a8db685d5483114 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 27 Mar 2021 14:24:48 +0100 Subject: Add global gitconfigs --- .gitconfig | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .gitconfig (limited to '.gitconfig') diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..aa5c1fc --- /dev/null +++ b/.gitconfig @@ -0,0 +1,40 @@ +[color] + ui = true + status = auto + branch = auto +[core] + editor = vim + excludesfile = ~/.gitignore_global +[merge] + tool = vimdiff +[user] + name = a14m + email = a14m@pm.me + username = a14m + signingkey = 7A690E8DFE36C63A99355B1B76296F290BE3A016 +; [branch] + ; autosetuprebase = always +[diff] + algorithm = patience +[alias] + st = status + br = branch + df = diff + co = checkout + cm = commit --verbose + ls = log --oneline --decorate + la = log --oneline --decorate --numstat + lg = log --oneline --graph + ; ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative + ; fl = log -u + ldf = diff --cached HEAD^ + wdf = diff --color-words --word-diff-regex='[A-z0-9_]+|[^[:space:]]' + ; up = "!git remote update -p; git merge --ff-only @{u}" +[push] + default = current +[pull] + rebase = true +[fetch] + prune = true +[commit] + gpgsign = true -- cgit v1.2.3