DEV Community

Discussion on: 20 Git Commands Every Developer Should Know

Collapse
 
selectivehouse profile image
Joe Jordan

I also find the command: git reset HEAD^ really useful too, lets you revert an accidental commit and keep the changes :)

Collapse
 
krishnaagarwal profile image
Krishna Agarwal • Edited

Added in the post
Thanks