DEV Community

[Comment from a deleted post]
Collapse
 
lampewebdev profile image
Michael "lampe" Lazarski

How to undo my last locale commit πŸ€£πŸ˜†πŸ˜‚πŸ˜

Collapse
 
rhymes profile image
rhymes

I have a git undo alias exactly for that reason ahah

Collapse
 
lampewebdev profile image
Michael "lampe" Lazarski

Haha yeah I need to get that too 🀣

Collapse
 
valxntine profile image
valentine

Care to share for.....research purposes?

 
rhymes profile image
rhymes • Edited

Sure!

➜  ~ git alias undo
undo = reset HEAD^

:-)

Collapse
 
autoferrit profile image
Shawn McElroy

Good idea!

Collapse
 
binyamin profile image
Binyamin Green

me exactly