github - GIT: Creating new branch with reverted changes -


accidentally merge branch on master branch had revert changes. want create new branch , pick changes had revert.

any of knows how can create branch previews commits?

i'll appreciate help

to create , checks out new branch:

git checkout -b [name]

to cherry pick commit onto new branch:

git cherry-pick [commit hash]


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -