Skip to content

Glossary: Command Line and Git

secrets

Also written: .env, API keys, passwords in Git

Passwords, API keys and similar private values. Never commit them, even to a private repository: keep them in a file such as `.env` and list it in `.gitignore` before your first commit.

Where the book teaches it

Related terms

.gitignore