Undo last commit but keep changes in git | Code Simple

Published: 07 August 2021
on channel: Code Simple
1,164
7

How to delete a commit but keep the changes in git
Command to undo the last commit but keep the changes made.

$ git reset --soft HEAD~1

undo last commit but keep changes
#delete #commit #git #github #codesimple


On this page of the site you can watch the video online Undo last commit but keep changes in git | Code Simple with a duration of hours minute second in good quality, which was uploaded by the user Code Simple 07 August 2021, share the link with friends and acquaintances, this video has already been watched 1,164 times on youtube and it was liked by 7 viewers. Enjoy your viewing!