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
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