git checkout file, How to merge specific file changes from branch B into branch A without merging the entire branch

How to merge specific file changes from branch B into branch A without merging the entire branch

Use this git command to fetch changes from specific file instead of merging the whole branch!

git checkout B -- path/to/your/file

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *