mark
mark

Reputation: 62866

How to generate a pull request for the local Git changes in VS2015 working against the on premises TFS?

We have:

  1. On premises Team Foundation Server
  2. So far we have used TFS for all our repositories, but now we would like to create new projects using git.

Please, observe:

enter image description here

My question is about the Pull Requests:

enter image description here

But, when I click the Pull Requests button it takes me to the browser to the remote version of the repository. Of course, it does not have my local changes (after all, they are local) and so I am kind of puzzled how am I supposed to produce a Pull Request.

Upvotes: 1

Views: 83

Answers (1)

Daniel Mann
Daniel Mann

Reputation: 59035

You have to push your local branch to the remote in order to open a pull request. That's how pull requests work in every Git hosting platform that offer a pull request feature.

The idea is that you work locally in your own branch. When you're done working, you share the branch with the rest of the team and open a PR to signal that you'd like it reviewed and merged into a stable branch.

Once the PR is completed, the branch can be deleted both on the remote and on your local.

Upvotes: 1

Related Questions