Yeah learned this the hard way.

you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago

idk but my dotfiles do:

alias undo="git reset --soft HEAD~1"
  • source
  • parent