If you have done a git pull and want to revert it follow the following steps
38a8d67 HEAD@{0}: pull: Fast-forward
207b7e7 HEAD@{1}: commit: frontend errors and saving files
04bbc08 HEAD@{2}: commit: s3 delete working
da01b7a HEAD@{3}: commit: linked to S3
2f3e8ff HEAD@{4}: commit: removed morgan completely
e0db8da HEAD@{5}: commit: removed morgan
6389f3a HEAD@{6}: commit: updated with security middlewares
8034f81 HEAD@{7}: commit: added dotenv to dependencies
3f92a3e HEAD@{8}: commit: added morgan to dependencies
Step1: See recent commits
Use git reflog to see recent commits. You will see something like this:38a8d67 HEAD@{0}: pull: Fast-forward
207b7e7 HEAD@{1}: commit: frontend errors and saving files
04bbc08 HEAD@{2}: commit: s3 delete working
da01b7a HEAD@{3}: commit: linked to S3
2f3e8ff HEAD@{4}: commit: removed morgan completely
e0db8da HEAD@{5}: commit: removed morgan
6389f3a HEAD@{6}: commit: updated with security middlewares
8034f81 HEAD@{7}: commit: added dotenv to dependencies
3f92a3e HEAD@{8}: commit: added morgan to dependencies
Comments
Post a Comment