This question is similar to the following question: [How to do a Git pull request on remote branches via the command line](https://stackoverflow.com/questions/59958518/how-to-do-a-git-pull-request-on-remote-branches-via-the-command-line)

I have a pipeline that generates a branch with a new document that needs to be integrated into the remote repository to the master branch. This needs to be done through a pull request, I have tried with the git command `git request-pull` to no avail as I don't see the pr in the could. This is what I currently have (Which directly merges the new branch to master without the pr).

```
- script: |
    cd documentation
    git config --global user.email "myemail@someOrganization.com" && git config --global user.name "John Doe"
    git checkout -b release-notes
    dir
    mv $(System.DefaultWorkingDirectory)\\..\\tempdocs.md $(System.DefaultWorkingDirectory)\\..\\"$(SourceBranch)".md
    mv $(System.DefaultWorkingDirectory)\\..\\"$(SourceBranch)".md docs\\applications\\app\\versions\\"$(SourceBranch)".md
    git add .
    git commit -m "add release notes for $(SourceBranch)"
    git checkout feature/automatic-docs && git merge release-notes && git push origin
  displayName: 'Publish Documentation'

```