how to review code on github

纯净搜索 为您找到 本页 4 条,用时 0 秒(数据源:360)

AI 回答 由 glm-4-flash 生成 · 仅供参考,请自行核实
1. Fork the repository: Create a copy of the original repository in your GitHub account.
2. Clone the fork: Use `git clone <url>` to download the repository to your local machine.
3. Review changes: Compare the fork with the original repository to find differences.
4. Create a branch: `git checkout -b <branch-name>` to create a new branch for your review.
5. Make changes: Apply your review comments and suggestions in the branch.
6. Commit changes: `git commit -m "Review comments and suggestions"` to record your changes.
7. Push branch: `git push origin <branch-name>` to upload your branch to GitHub.
8. Open pull request: Go to GitHub, find your fork, click "New pull request", compare branches, and describe your changes.
9. Discuss with author: Engage in discussions with the original author on the pull request page.
10. Merge or close: After discussion, the original author or a collaborator can merge the branch into the main repository or close the pull request if the changes are not accepted.

Git和Code Review流程- Ruthless - 博客园

发贴时间:2014年6月6日 - 6、再pull request详细页面,填写相关标题/说明/reviewer,目前请将reviewer设成lijing_dkhs和zhuangqunxiong.7、请提醒...www.cnblogs.com反馈
cnblogs.com