Senior Backend Engineer / Stage 1 · Foundations
Stage, inspect and undo a change in Git
"Already know" meets prerequisites. "Not relevant" removes the topic from your total but leaves what builds on it waiting.
Self-check
- You accidentally commit a configuration change in a disposable repository. Inspect the diff, undo it while retaining history, then recover an uncommitted edit using a saved stash.
- Evidence to include: Save the commands and before/after log. Explain when revert is safer than rewriting shared history.
Try it without the material first, then compare. Save your answer in your notes below. Report a problem with this self-check
Learning activities
1 activities- Not donePro Git (opens another site)
The standard free book; chapters 1 to 3 cover staging, history, undoing and branching.
3 h