#git bot interface
History of !undo
- @!fixup
By SethRobertson at 2012-01-16 19:23:54
- There are several ways to undo a commit: If you have pushed it use "git revert <commit>" to undo the changes it introduced, otherwise use "git rebase -i <commit>^" and delete that commit from the list and it will be as though it never existed. You can also remove the latest commit without losing its changes with "git reset HEAD^"
By cirwin at 2012-01-02 22:11:06
- There are several ways to undo a commit: If you have pushed it use "git revert <commit>" to undo the changes it introduced, otherwise use "git rebase -i <commit>^" and delete that commit from the list and it will be as though it never existed.
By cirwin at 2012-01-02 22:09:52
- There are two ways to undo a commit: If you have pushed it use "git revert <commit>" to undo the changes it introduced, otherwise use "git rebase -i <commit>^" and delete that commit from the list and it will be as though it never existed.
By cirwin at 2012-01-02 22:09:02