How can I make a Pull request using TortoiseGit

后端 未结 1 1068
春和景丽
春和景丽 2021-02-07 13:50

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, bu

相关标签:
1条回答
  • 2021-02-07 14:21

    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
    

    http://tortoisegit.org/docs/tortoisegit/images/RequestPull.png

    • 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".

    0 讨论(0)
提交回复
热议问题