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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -