From 3337e9dea834f47dffa42c475aae4566641e6577 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Mon, 17 Apr 2023 10:08:52 +0200 Subject: [PATCH] [new] Add the `git` config --- .gitconfig | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..8bae9c6 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,52 @@ +# INCLUDES +# -------- +# Local/Private config goes in the include +[include] + path = ~/.gitconfig.local +# URL ALIASES +# ----------- +# Alias for my mian account +[url "https://github.com/anas-elgarhy/"] + insteadOf = me:// +# COLORS +# ------ +# Dracula Dark Theme +[color] + ui = auto +[color "branch"] + current = cyan bold reverse + local = white + plain = + remote = cyan +[color "diff"] + commit = + func = cyan + plain = + whitespace = magenta reverse + meta = white + frag = cyan bold reverse + old = red + new = green +[color "grep"] + context = + filename = + function = + linenumber = white + match = + selected = + separator = +[color "interactive"] + error = + header = + help = + prompt = +[color "status"] + added = green + changed = yellow + header = + localBranch = + nobranch = + remoteBranch = cyan bold + unmerged = magenta bold reverse + untracked = red + updated = green bold