Skip to content

Instantly share code, notes, and snippets.

Avatar
💻

vireakpanha-khy

💻
  • Battambang, Cambodia
View GitHub Profile
View Edit, Delete, Recover Commit Message
+ Edit A Commit Message
1). git commit --amend
2). change the commit message in your text editor
3). git push -f origin master
+ Delete A Commit
1). git reset --hard [COMMIT_ID]
2). git push -f origin master
+ Recover A Deleted Commit