Let's say I have a file named index.html in my master branch, I made some changes of the file in another branch name features. How can I replace the index.html file in the master branch by the index.html file in the features branch
I once tried
> git checkout master
> git merge features
but it seems it copied the content thereby creating redundancies