I have \'develop\' and \'InitialPomChanges\' branches. I want to copy all the contents of develop branch to InitialPomChanges branch.
You can use git merge
or git rebase
If you are on the InitialPomBranch, you can simply run
git merge develop
or
git rebase develop
The first one will merge all the commits of the develop branch on to InitialPomBranch. The second one will put all the commits of the develop branch below the first commit of the InitialPomBranch
Edit: Rebase will change the SHA hashes of all the commits of the InitialPomBranch. So you will have to run
git push -f origin InitialPomBranches
to push all the changes