]> git.rmz.io Git - dotfiles.git/blobdiff - git/config
Backup UH
[dotfiles.git] / git / config
index 2892abba270bfc37bb2f1af588dfdadddbea7d0c..04e040515a42ff7a9d8258ad5fdc73ae6c716850 100644 (file)
@@ -1,13 +1,14 @@
 [user]
        name = Samir Benmendil
-       email = me@rmz.io
+       email = samir.benmendil@ultrahaptics.com
 [color]
        branch = auto
        status = auto
        ui = auto
        diff = auto
 [push]
-       default = simple
+       default = current
+       recurseSubmodules = check
 [diff]
        tool = vimdiff
 [color "diff"]
        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\"
+       cmd = vim -f -c \"Gdiffsplit!\" \"$MERGED\"
 [merge]
        tool = fugitive
        defaultToUpstream = true
        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"
+       clean-orig = "!git ls-files -o --exclude-standard | grep '\\.orig$' | xargs -n100 -p rm"
+[filter "lfs"]
+       clean = git-lfs clean -- %f
+       smudge = git-lfs smudge -- %f
+       process = git-lfs filter-process
+       required = true