Description:

  • While git reset works great for local branches on your own machine, its method of “rewriting history” doesn’t work for remote branches that others are using.
  • In order to reverse changes and share those reversed changes with others, we need to use git revert.
  • git reverse pushed
gitGraph
   commit id: "Normal"
   commit id: "Reverse" type: REVERSE
   commit id: "Highlight" type: HIGHLIGHT

two