github - How can I undo last local (not pushed) commit using git-plus? -


as question above want know how undo last local (not pushed) commit using git-plus package in atom text editor. how can undo last local commit?

apparently can not git-plus. simple command :

git reset --hard head^ 

you can undo last commit.
pay attention hard reset, loose pending changes. can stash them before.


Comments