How can I make a Pull request using TortoiseGit

2019-03-20 02:11发布

问题:

In TortoiseGit

When I hit Right Click -> Push, OK, Give it User/Pass then after that there is a Create Pull request button giving it a Start, URL, End. I am clicking, but nothing happens.

The Pull requests (0) is shown in my repo.

And one other thing, How can I make a pull request and then update it as necessary using the same software (TortoiseGit)

回答1:

The doc mentions:

After pushing your changes to a (public) repository, you just provide other people the URL of your repository and the name of the branch or the revision id.
E.g.:

git://example.com/repo.git BRANCHNAME

  • Start: This should be the revision on which your changes are based on.
  • URL: The public URL to your repository, which can be access by the people who shall pull your changes.
  • End: This should be the branch name or revision id of the end of your commits.

Once a PR is created on that public repo, you can update it (at least for GitHub) by pushing in that same branch.

I would recommend not using master, but a dedicated branch for that PR (here in the picture: 'issue-993', which started from the version origin/master).

See "coupe of tips for Pull Requests".