top | item 47097125

Show HN: Git uncommit – reset unpushed, committed changes

3 points| below43 | 9 days ago |github.com

Equivalent of "git reset --soft HEAD~1". Got sick of googling it every time with my goldfish memory.

Just a brew package at this point, but feel free to suggest alternatives.

3 comments

order

myst|9 days ago

You can do an alias.

below43|8 days ago

Good point. TIL :)

git config --global alias.uncommit 'reset --soft HEAD~1'