Git Uncommit The Last Commit
Git Uncommit The Last Commit . In another method, run the following command to undo the last commit. You could also add another couple of changes you. Simply Git Barebones. No Fluff. Essentials. Know the Code from knowthecode.io [alias] uncommit = reset head~. For example, if you specify ~3, the command will affect the three latest commits. This command will create a new commit with the “revert” word in the beginning of the message.