I'm looking for steps to push feature branch on repository A to master branch of repository B using command line steps on azure DevOps build pipeline. Thanks
apparently, in the comments. everything command is coming as single line. So, here it is again.
here, is the git commands which fixed the ask for me.
git clone -b feature/feature-test --single-branch
git checkout -b master
git remote add origin-feature
git push origin-feature master