问题
I want to undo my last commit in NetBeans.
As I found the command is '$ git reset --soft HEAD~ ' but how can I do it in NetBeans7 IDE?
回答1:
- Use Main menu: Team -> Git -> Reset... (NB 7.3.x) OR
- Use Main menu: Team -> Git-> Revert/Recover-> Reset... (or use the context menu) (NB 7.4)
来源:https://stackoverflow.com/questions/15447988/how-to-use-git-reset-in-netbeans