Add explanation of when to use git revert vs git reset for beginners
The page lists both git revert and git reset but doesn't explain when to use each one. Beginners may be confused about which command to use. **Location** https://docs.gitlab.com/ee/topics/git/advanced.html **Current Text** "git revert: Creates a new commit that undoes the changes made in a previous commit... git reset: Resets and undoes changes that are not yet committed." **Suggested Fix** Add a comparison: "- Use `git revert` for changes that have already been pushed and shared with others (safe for shared branches) - Use `git reset` for local changes that haven't been pushed yet (can rewrite history)" **Why This Helps** Helps users choose the right command for their situation. ## ~"quick win" ~documentation ~Documentation ~"type::documentation"
issue