git checkout file from branch - How to get just one file from another branch
To solve checkout file from another branch Say, you are on the 'master' branch. Now you want to get 'app_new.js' file from 'new-feature' branch. Use the following command: $ git checkout new-feature path/to/app_new.js
Answered Jul 14, 2021 · 1.9K Views Read answer →