Git Reset --soft vs --mixed vs --hard Comparison

Git Reset --soft vs --mixed vs --hard Comparison — structured authoritative technical reference table.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
ModeHEAD MovesStaging / Working Tree
--softYesStaging & working tree preserved
--mixed (default)YesStaging reset; working tree preserved
--hardYesDESTROYS uncommitted working changes

Technical Explanation

Git Reset --soft vs --mixed vs --hard Comparison — structured authoritative technical reference table. Verified against authoritative technical and scientific standards.

Worked Examples

  • Scan Git Reset --soft vs --mixed vs --hard Comparison for exact parameters, limits, or syntax.

Limitations & Assumptions

  • Summary reference table; consult the linked authoritative specification for complete normative clauses.

Source References & Verification

Resource ID: ref-git-reset-modes · Independently verified: 2026-11-25

Related Resources