1

I'm working on a feature branch (say - new_feature_branch). I have already changed a set of file and all my changes are commit and then push to a remote git repo (say origin/new_feature_branch). But now I want only a specific file (say specific_file) of new_feature_branch revert back to (origin/master). How can I do this? I've tried -

git checkout origin/master specific_file name 

But it doesn't work for me.

Razib
  • 10,965
  • 11
  • 53
  • 80

0 Answers0