From 040707c1710abaed092196bbf2184cebdbf219ff Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 24 Jan 2023 08:24:47 +0200 Subject: [PATCH] gitconfig: add push.autoSetupRemote=true & lfs filter The later was automatic that I haven't just noticed for committing before --- .mikaela/gitconfig | 8 +++++++- conf/gitconfig | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.mikaela/gitconfig b/.mikaela/gitconfig index 12baf7fe..c6128d18 100644 --- a/.mikaela/gitconfig +++ b/.mikaela/gitconfig @@ -33,6 +33,7 @@ [push] default = current gpgSign = if-asked + autoSetupRemote = true [credential] helper = cache --timeout=86400 [merge] @@ -62,4 +63,9 @@ [advice] # I am not developing in detached head state, I generally want to compile # a specific version of a program and I know how to get out of it - detachedHead = false \ No newline at end of file + detachedHead = false +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true diff --git a/conf/gitconfig b/conf/gitconfig index cbfbbedb..56398a7d 100644 --- a/conf/gitconfig +++ b/conf/gitconfig @@ -33,6 +33,7 @@ [push] default = current gpgSign = if-asked + autoSetupRemote = true [credential] helper = cache --timeout=86400 [merge] @@ -62,4 +63,9 @@ [advice] # I am not developing in detached head state, I generally want to compile # a specific version of a program and I know how to get out of it - detachedHead = false \ No newline at end of file + detachedHead = false +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true