Put in order · Vibe coding with Claude Code course · Module 1: Claude Code and Cursor

Assemble: Removing .env from the repository

The .env file has already landed in a commit. Assemble the command that removes it from the repository but leaves it on disk (on one line):

Items to put in order

  • rm
  • --cached
  • git
  • .env
Show the answer

Correct order:

  1. git
  2. rm
  3. --cached
  4. .env