X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/30a510867ee248d937c772c091ce2b1f15bab755..e51e85b7c6412c8cf281a1d60b0c5a5042d5028b:/git/config?ds=inline diff --git a/git/config b/git/config index 0e41b1f..28e18e4 100644 --- a/git/config +++ b/git/config @@ -7,7 +7,8 @@ ui = auto diff = auto [push] - default = simple + default = current + recurseSubmodules = check [diff] tool = vimdiff [color "diff"] @@ -16,9 +17,8 @@ meta = green [sendemail] smtpencryption = tls - smtpserver = smtp.gmail.com - smtpuser = samir.benmendil@gmail.com - smtpserverport = 587 + smtpserver = /usr/bin/msmtp + smtpuser = [mergetool "fugitive"] cmd = vim -f -c \"Gvdiff\" \"$MERGED\" [merge] @@ -31,3 +31,15 @@ autosquash = true [status] submodulesummary = true +[rerere] + enabled = true +[pull] + rebase = interactive +[branch "master"] + rebase = preserve +[branch "develop"] + rebase = preserve +[commit] + verbose = true +[alias] + remote-to-ssh = "!f(){ local r=$1; git remote set-url $r $(git remote get-url $r | sed -r 's,https?://([^/]+),git@\\1:,'); };f"