Ever made a change, but you forgot something
- Fix typo in commit message
- Already pushed to remote server
- Only undo the commit, but keep the changes
- Undo the commit and the changes
Fix typo in commit message
1 | vim README.md |
Already pushed to remote server
1 | vim README.md |
Only undo the commit, but keep the changes
1 | vim README.md |
Undo the commit and the changes
There’s no way back, you’ll loose all local changes.
1 | vim README.md |