]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
`~/.gitignore` can be moved to `XDG_CONFIG_HOME/git/ignore` (#215)
authorRick Venutolo <rvenutolo@users.noreply.github.com>
Wed, 25 Jan 2023 11:43:23 +0000 (06:43 -0500)
committerGitHub <noreply@github.com>
Wed, 25 Jan 2023 11:43:23 +0000 (12:43 +0100)
https://git-scm.com/docs/gitignore

programs/git.json

index 697808cdf4101102d65eda1131a93c94f2a24b6b..61a41bdf92814d67d2ed04ff1ac13dc433e246e2 100644 (file)
@@ -6,6 +6,11 @@
             "movable": true,
             "help": "XDG is supported out-of-the-box, so we can simply move the file to _XDG_CONFIG_HOME/git/config_.\n"
         },
             "movable": true,
             "help": "XDG is supported out-of-the-box, so we can simply move the file to _XDG_CONFIG_HOME/git/config_.\n"
         },
+        {
+            "path": "$HOME/.gitignore",
+            "movable": true,
+            "help": "XDG is supported out-of-the-box, so we can simply move the file to _XDG_CONFIG_HOME/git/ignore_.\n"
+        },
         {
             "path": "$HOME/.git-credentials",
             "movable": true,
         {
             "path": "$HOME/.git-credentials",
             "movable": true,