Git Remove Commited Changes

[Solved] Git Remove Commited Changes | Shell - Code Explorer | yomemimo.com
Question : undo commit delete changes

Answered by : joseph-yedidya-abel

# Uncommit the changes
git reset --soft HEAD~1
# Completely delete the changes
git reset --hard HEAD~1

Source : | Last Update : Wed, 24 Jan 24

Answers related to git remove commited changes

Code Explorer Popular Question For Shell