From e9b155579c6751409e154ab838fe07c628193540 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 18 Feb 2021 09:22:29 +0200
Subject: [PATCH] Push to github over SSH.

Also, some whitespace for presentation.
---
 .config/git/config | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/.config/git/config b/.config/git/config
index 1e19e3b..2900d74 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -1,5 +1,6 @@
 [apply]
     whitespace = fix
+
 [alias]
     amend = commit --amend
     autorebase = -c 'core.editor=true' rebase -i --autosquash --autostash
@@ -37,40 +38,58 @@
     touch = "!f() { touch \"$@\" && git add -f \"$@\"; }; f"
     tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream}
     trigger = !git commit --allow-empty --no-edit --amend && git pushes --force-with-lease
+
 [color]
     grep = true
     ui = auto
+
 [core]
     whitespace = space-before-tab,-indent-with-non-tab,trailing-space
+
 [diff]
     renames = copies
-	tool = meld
+    tool = meld
+
 [difftool]
-	prompt = false
+    prompt = false
+
 [fetch]
     fsckobjects = true
     prune = true
+
 [filter "ansible-vault"]
     clean = ANSIBLE_VERBOSITY=0 ansible-vault encrypt
     smudge = ANSIBLE_VERBOSITY=0 ansible-vault decrypt
+
 [grep]
     linenumber = true
+
 [init]
     defaultBranch = master
+
 [merge]
     tool = meld
     ff = false
+
 [push]
     followTags = true
     default = simple
+
 [rebase]
     autoSquash = true
+
 [receive]
     fsckObjects = true
+
 [tag]
     forceSignAnnotated = true
+
 [transfer]
     fsckobjects = true
+
+[url "git@github.com:"]
+	pushInsteadOf = "https://github.com/"
+
 [user]
 	name = Adar Nimrod
 	email = nimrod@shore.co.il
-- 
GitLab