git switch YOUR_BRNACH
git fetch && git reset --hard origin/YOUR_BRNACH
Last active
April 9, 2026 02:01
-
-
Save mmktomato/86d28a02629a95ed8c41d3bdc7658922 to your computer and use it in GitHub Desktop.
Git force reset
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment