What are the 3 states of a file in Git?

33. What are the 3 states of a file in Git?

  1. Staged, Added, Committed
  2. Untracked, Staged, Committed
  3. Untracked, Staged, Added
  4. Untracked, Added, Committed

Answer: C) Untracked, Staged, Added

Explanation:

Git acts as a monitor to manage the project by using three states, i.e., Untracked, Staged, and Committed.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.