×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Nick Cobos
Added: Mar 9, 2021 4:59 AM
Views: 4769
Tags: git restore
  1. git checkout <branch>
  2. git reset --hard <commit-hash-before-merge>
  3. git push -f origin HEAD:<remote-branch>