GIT-SECRET-CLEAN(1)

πŸ“¦
version 0.5.0 Β· 3 versions
, in debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… 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 πŸ‘―


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 πŸŽ€βœ¨πŸ¦‹