How To Cancel Merge Git Code Example
Example 1: git undo comflicted merge
git merge --abort
Example 2: abort merge git
git merge --abort
Example 3: undo a git merge
git reset --hard HEAD~1
git reset --hard <commit_sha>
Example 4: git stop merge
git reset --hard HEAD
Comments
Post a Comment