GIT - Undo a merge

/ Published in: Bash
Save to your folder(s)

Copy this code and paste it in your HTML
  1. git log
  2. // copy the commit_sha from the prior commit before the merge.
  3. git reset --hard commit_sha

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.