Answers for "undo the most recent local commit in git"

2

undo most recent commit

$ git commit -m "some comment"                
$ git reset HEAD~                                          
<< edit files as necessary >>                              
$ git add ...                                              
$ git commit -c ORIG_HEAD
Posted by: Guest on June-18-2020
0

undo the most recent local commits in Git

git commit -m “this was a mistake”
Posted by: Guest on August-06-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language