Comment Comment by Garbage You can use tools like Talisman which registers a Git hook to check if you are checking in anything that looks like secret.https://github.com/thoughtworks/talisman parent Garbage 9 years ago
https://github.com/thoughtworks/talisman