How to merge old commit code into HEAD? If I want to merge the complete file of test.js at commit hash e123ee12
in to HEAD test.js.
I try to using cherry-pick but if there are many commit before I need to cherry-pick one by one.
I also try to checkout to the e123ee12
and add a empty line then commit and checkout back to master and merge the commit.But it will only merge the line that I add,will not merge all line to the master.
How to merge all file at old commit into master?