How to do a GitHub pull request

前端 未结 8 1938
一个人的身影
一个人的身影 2020-11-22 03:12

How do I create and/or send a pull request to another repository hosted on GitHub?

8条回答
  •  情歌与酒
    2020-11-22 04:09

    The Simplest GitHub Pull Request is from the web interface without using git.

    1. Register a GitHub account, login then go to the page in the repository you want to change.
    2. Click the pencil icon,

      search for text near the location, make any edits you want then preview them to confirm. Give the proposed change a description up to 50 characters and optionally an extended description then click the Propose file Change button.

    3. If you're reading this you won't have write access to the repository (project folders) so GitHub will create a copy of the repository (actually a branch) in your account. Click the Create pull request button.

    4. Give the Pull Request a description and add any comments then click Create pull request button.

提交回复
热议问题