![git reset soft: When to Use Git Reset, Git Revert & Git Checkout - DEV Community π©βπ»π¨βπ» git reset soft: When to Use Git Reset, Git Revert & Git Checkout - DEV Community π©βπ»π¨βπ»](https://res.cloudinary.com/practicaldev/image/fetch/s--x1oDKltr--/c_imagga_scale,f_auto,fl_progressive,h_900,q_auto,w_1600/https://cl.ly/063v3m0l2X3b/Image%25202018-05-21%2520at%252010.56.45%2520AM.png)
git reset soft: When to Use Git Reset, Git Revert & Git Checkout - DEV Community π©βπ»π¨βπ»
![Git Commit Resetting, Checking Out & Reverting. | by Madhusha Prasad | SLIIT FOSS Community | Medium Git Commit Resetting, Checking Out & Reverting. | by Madhusha Prasad | SLIIT FOSS Community | Medium](https://miro.medium.com/max/847/1*vsefSeRgwTGQqK-X2kpm6Q.png)
Git Commit Resetting, Checking Out & Reverting. | by Madhusha Prasad | SLIIT FOSS Community | Medium
![Reverting GitHub master branch to a particular commit ( discard everything after that ) - Posts - OneCompiler Reverting GitHub master branch to a particular commit ( discard everything after that ) - Posts - OneCompiler](https://static.onecompiler.com/images/posts/3urm9jq6a/Screen%20Shot%202019-06-17%20at%2012.17.10%20PM.png)
Reverting GitHub master branch to a particular commit ( discard everything after that ) - Posts - OneCompiler
![Eddy Vinck on Twitter: "π¨ Oh no! You've pushed commits to the main branch on accident! π¨ π Here is how to fix it without breaking git history "git revert" will undo Eddy Vinck on Twitter: "π¨ Oh no! You've pushed commits to the main branch on accident! π¨ π Here is how to fix it without breaking git history "git revert" will undo](https://pbs.twimg.com/media/E3B8fISXEAESP-u.jpg)