git how to undo a merge that has been pushed code example
Example 1: git how to undo a pushed commit
git revert <commit_hash>
Example 2: undo last commit pushed
git reset # commitId
# Exemple
git reset 5310517
git revert <commit_hash>
git reset # commitId
# Exemple
git reset 5310517