Git command to merge a specific folder from another branch

--

git checkout -b <BRANCH_NAME>
git checkout <BRANCH_NAME> -- <FOLDER_NAME>/

git add <FOLDER_NAME>/

git commit -m ""
git push

--

--

Ajanthan Eliyathamby πŸ‡±πŸ‡°
Ajanthan Eliyathamby πŸ‡±πŸ‡°

Written by Ajanthan Eliyathamby πŸ‡±πŸ‡°

Associate Architect β€” Enterprise Integration | 14x WSO2 | 1x HashiCorp | 1Γ— Azure | Runner-Up WCPY 2020 | https://ajanthane.blogspot.com

No responses yet