Restore a previous git commit? -
Restore a previous git commit? -
apparently old bug prepare commit of mine got dropped during recent merge of old branch new. found commit in logs , have id (403357cab89465ce68001762d35fe27b57aeec65). want restore commit current working branch can firstly diff changes commit them in again. how can this?
git checkout 403357cab89465ce68001762d35fe27b57aeec65
doesn't work.
and way, commit involved edits multiple files.
do git cherry-pick sha1 , pull commit on top of current head.
git
Comments
Post a Comment