From 8a9cc1f98e86c0625b4ed247bcafae575cf3fddf Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 7 Nov 2019 17:10:18 +0100 Subject: [PATCH] [UPDATE][GIT] Use XDG_CONFIG_HOME scheme Git supports looking for its configuration in $XDG_CONFIG_HOME/git/config and a global ignore file in $XDG_CONFIG_HOME/git/ignore in recent versions. --- git/{.gitconfig => .config/git/config} | 3 --- git/{.gitignore => .config/git/ignore} | 0 git/.stow-local-ignore | 1 - 3 files changed, 4 deletions(-) rename git/{.gitconfig => .config/git/config} (97%) rename git/{.gitignore => .config/git/ignore} (100%) delete mode 100644 git/.stow-local-ignore diff --git a/git/.gitconfig b/git/.config/git/config similarity index 97% rename from git/.gitconfig rename to git/.config/git/config index fa1d1d8..481690b 100644 --- a/git/.gitconfig +++ b/git/.config/git/config @@ -1,6 +1,3 @@ -[core] - excludesfile = ~/.gitignore - [user] email = bruno.belanyi@epita.fr name = Bruno BELANYI diff --git a/git/.gitignore b/git/.config/git/ignore similarity index 100% rename from git/.gitignore rename to git/.config/git/ignore diff --git a/git/.stow-local-ignore b/git/.stow-local-ignore deleted file mode 100644 index 2b0df1e..0000000 --- a/git/.stow-local-ignore +++ /dev/null @@ -1 +0,0 @@ -# We don't want to ignore the .gitignore