Independent Development
PR (Pull Request)
What is PR
It is a way to merge codes, widely used on Github.
Basically, it is to setup a new branch for new features to be developed, after the development and testing, push the branch up and merge the branch back.
In this way, the original codes will be affected in a minimal way.
How to do PR, commands related
Create new branch: git checkout -b feature/new_feature
Development: git add, git commit, git push (as usual)
Push new branch up: git push -u origin feature/new_feature
Then there should be some url on the repo to create a merge request.
Well, with AI, it can be really easy to do these things.
Main Site(Under building)
Related Platforms
(Github Issues) / (Notion) / (Blog)
Advertisement
(A website to optimize your resume and to boost your career: Nonpareil.me)
独立开发
PR (Pull Request)
PR是什么
PR是管理代码合并的一种策略,在Github上用得很多。
简单来说,就是建立一个新分支,开发新功能,然后把这个新分支合并到主线上去。
这样可以保证对原代码影响最小。
怎么做PR,相关的命令
创建新分支:git checkout -b feature/new_feature
开发:git add, git commit, git push (正常开发使用的命令)
把新分支推到repo中:git push -u origin feature/new_feature
应该会有URL提示如何创建merge request。
有了AI辅助,这一流程变得非常简单。
主站(建设中)
[Nonpareil Me]{https://nonpareil.me}
相关平台
(Github Issues) / (Notion) / (Blog)