From 4a8c4950e051abbc1c0a79da57cbc7cf19347637 Mon Sep 17 00:00:00 2001 From: supopur Date: Sun, 5 Mar 2023 08:38:09 +0100 Subject: [PATCH] No more leaking my token --- .gitattributes | 2 ++ .gitconfig | 3 +++ .gitignore | 0 3 files changed, 5 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitconfig create mode 100644 .gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..db15c55 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +creds.toml filter=secret + diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..0e285dc --- /dev/null +++ b/.gitconfig @@ -0,0 +1,3 @@ +[filter "secret"] + smudge = sed "s/token=.*/token=[your token]/" + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29