Friday, May 21, 2021

Git recover lost rebase

1. git reflog First identify the lost commit 2. git diff master commithash --name-only Check the differences in the files 3. git checkout commithash filepath Pick the one that you need

No comments:

Be human

The biggest mistake repeated throughout history has always been people in power thinking they have the right to harm the innocent for what t...