foxora

Staging and committing changes

Stage and commit through Terminal with explicit paths until native Source Control actions are available in the Foxora surface.

On this page2
  1. Steps
  2. Expected result
Staging and committing changes
Studio interface in English. Sample data.

Steps

  1. Run git status and git diff, then verify the task’s tests.
  2. Stage only intended paths with git add -- path/to/file.
  3. Review git diff --cached and remove any accidental path from the index.
  4. Run git commit -m with an outcome-based message, then confirm a clean or expected git status.

Expected result

One commit contains only the reviewed files and records the verified outcome.

Note: Do not use broad git add patterns in a dirty shared checkout; unrelated changes may belong to another person or task.