Git command to merge a specific folder from another branch
Oct 29, 2024
git checkout -b <BRANCH_NAME>
git checkout <BRANCH_NAME> -- <FOLDER_NAME>/
git add <FOLDER_NAME>/
git commit -m ""
git push
git checkout -b <BRANCH_NAME>
git checkout <BRANCH_NAME> -- <FOLDER_NAME>/
git add <FOLDER_NAME>/
git commit -m ""
git push
Associate Architect β Enterprise Integration | 14x WSO2 | 1x HashiCorp | 1Γ Azure | Runner-Up WCPY 2020 | https://ajanthane.blogspot.com