Reverting to a specific commit without losing history
问题 I know this type of a question has a lot duplicates, but I wanted to open a new one because I didn't found in all of the other questions the explaination of the best way to do it as I want. I know i can revert and keep the history by doing: git reset --soft c14809fa I want to revert the development branch and keep the history on a different branch. If I checkout the development to a new branch before I revert the commits - For example git checkout -b beforeRevert Than I will checkout back to