]> git.rmz.io Git - dotfiles.git/blobdiff - git/config
vim: resize Gstatus window to 16 lines
[dotfiles.git] / git / config
index 28e18e4c60974a901747fda1daa3475b270660ac..6e0ef152045893cae3c7634c8f4a4981a6b26521 100644 (file)
@@ -43,3 +43,9 @@
        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