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 the development branch and do the reveting ( because I want to continue working on the data from the commits i had revert to )
The other branch, beforeRevert
branch, will keep all the history and data of the "before reverting" that will use again someday, but won't include in the current development
branch? Or the reverting on the development
branch will somehow effects the beforeRevert
branch?