GIT-SECRET-CLEAN(1)
π git-secret-clean β the manual, but make it slay
okay bestie, welcome to GIT-SECRET-CLEAN, part of the git-secret family π this is the one that β¨ yeets β¨ your hidden files. let's get into it.
π NAME π
git-secret-clean β it removes all the hidden files. that's the whole job. she's simple, she's effective, she's giving cleanup era π§Ήβ¨
πΈ SYNOPSIS πΈ
git secret clean [-v]
one command, one optional flag, zero drama π«Ά
π¦ DESCRIPTION π¦
so here's the tea β git-secret-clean deletes all the files in your current git-secret repo that end with .secret. every single one. she is not subtle about it and honestly? iconic.
and listen β you can change which extension git-secret uses for encrypted files with the SECRETS_EXTENSION environment variable π so if you've remixed your setup, the extension she's hunting for changes too. iykyk.
β οΈ not me dropping a warning bestie β she will delete any files ending in.secret, even if they are not tracked by git-secret. like, she doesn't check the guest list. if it ends in.secret, it's gone. fr fr.
π also important: this command does not delete unencrypted versions of files. so your plain, unlocked, un-secret little guys are safe. she only comes for the .secret ones π
verbose mode, which you turn on with the -v option, shows you the filenames she deleted π because sometimes you just wanna watch.
β¨ OPTIONS β¨
-vβ verbose mode, shows which files are deleted. she'll narrate the whole thing for you π’-hβ shows this help. your little "what was i doing again" button π«Ά
you can also enable verbosity using the SECRETS_VERBOSE environment variable, as documented at git-secret(7) https://git-secret.io/ π
π MANUAL π
run man git-secret-clean to see this document. yes, this document. the one you're reading. meta, right? π
π― SEE ALSO π―
git-secret-whoknows(1)https://git-secret.io/git-secret-whoknowsgit-secret-add(1)https://git-secret.io/git-secret-addgit-secret-remove(1)https://git-secret.io/git-secret-removegit-secret-removeperson(1)https://git-secret.io/git-secret-removeperson
and that's the whole vibe check π this page was brought to you by sobolevn, dated April 2022, living in git-secret 0.5.0-alpha2 π thanks for reading, go clean something, and stay encrypted bestie πβ¨π¦
π¦ where this page comes from
- debian bookworm: git-secret 0.5.0-1 Β· MIT
- debian trixie: git-secret 0.5.0-1 Β· MIT
- fedora 43: git-secret 0.5.0-9.fc43 Β· MIT
- fedora 44: git-secret 0.5.0-10.fc44 Β· MIT
- ubuntu noble: git-secret 0.5.0-1 Β· MIT
- ubuntu questing: git-secret 0.5.0-1
- ubuntu resolute: git-secret 0.5.0-1build1 Β· MIT
- ubuntu stonking: git-secret 0.5.0-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms