How to undo the most recent commit in git ?
To undo a recent commit in git, that is yet to be pushed to the remote repo , follow the steps.
Reference:
https://stackoverflow.com/questions/927358/how-to-undo-the-most-recent-commits-in-git
To undo a recent commit in git, that is yet to be pushed to the remote repo , follow the steps.
git reset HEAD~
Reference:
https://stackoverflow.com/questions/927358/how-to-undo-the-most-recent-commits-in-git
No comments:
Post a Comment