How can I make a Pull request using TortoiseGit

扶醉桌前 提交于 2019-12-20 20:20:05

问题


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



来源:https://stackoverflow.com/questions/26988891/how-can-i-make-a-pull-request-using-tortoisegit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!