Hello @Goutham Kannekanti and welcome to Microsoft Q&A.
This is not something that Data Factory can do, but there is a way to accomplish your ask. I assume master branch is your collaboration branch. Most of the following you will need to do in Git or DevOps, wherever your repository is.
- Create a new branch from master (let us call it "Temp")
- Copy the desired changes from Dev branch to Temp branch (this means your 4 files). This includes any deletions.
- Create pull request to merge Temp into master
- After merging, go to Data Factory and check all is in master the way you want it.
- Publish master. This pushes to adf_publish branch.
Please let me know if this helps. If it solves your problem please mark as accepted answer, otherwise let me know how I may better assist.