Undoing Changes
Made a mistake? No problem. Learn to unstage with git restore --staged, discard edits with git restore, and fix your last commit safely.
Lesson 10 of 24
Made a mistake? No problem. Learn to unstage with git restore --staged, discard edits with git restore, and fix your last commit safely.