GIT-SECRET-INIT(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-init(1) ✨

okay bestie, welcome to the git-secret manual β€” section 1 of the good stuff, straight outta the git-secret package, version 0.5.0-alpha2 πŸ’– this one's all about the very first thing you ever run, so like… pay attention, it's giving origin story πŸŽ€


🌸 NAME 🌸

git-secret-init β€” initializes git-secret repository. that's it, that's the whole job, and she does it flawlessly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹


πŸ‘‘ DESCRIPTION πŸ‘‘

okay so. git-secret-init initializes a git-secret repo by setting up a .gitsecret directory. simple as that, no cap 🫢

git-secret-init should be run inside a git repo, and what it does is create the .gitsecret directory and initialize the repo for git-secret. and listen β€” until a repository is initialized with git secret init, all other git-secret commands are unavailable. literally all of them. so if you're out here confused why nothing works, it's because you skipped step one, bestie 😭 this is the vibe check. pass it first.

If a .gitsecret directory already exists, git-secret-init exits without making any changes. no harm, no foul, she just peaces out πŸ™ˆ otherwise:

  • .gitignore is modified to ignore git-secret's random_seed_file, and to not ignore .secret files,
  • a .gitsecret directory is created with the sub-directories /keys and /paths,
  • The .gitsecret/keys subdirectory permission is set to 700 to make gnupg happy. (gnupg is a delicate little princess and we respect her needs πŸŽ€)

See git-secret(7) https://git-secret.io/git-secret for information about renaming the .gitsecret folder with the SECRETS_DIR environment variable, and changing the extension git-secret uses for secret files with the SECRETS_EXTENSION environment variable. iykyk ✨


πŸ’… OPTIONS πŸ’…

  • -h β€” shows this help.

🧚 MANUAL 🧚

Run man git-secret-init to see this document. yes, the document you are literally reading right now. she's self-aware, she's meta, she's iconic 🌈


⭐ SEE ALSO ⭐


and that's the whole page, bestie πŸ“ this lil masterpiece was brought to you by sobolevn, dated April 2022, from git-secret version 0.5.0-alpha2 β€” go forth and initialize, you absolute main character πŸ’œπŸ‘‘