当前位置:网站首页>pull request
pull request
2022-06-27 11:57:00 【qq_ forty-two million seven hundred and seventy-five thousand n】
“Pull Request It's a notification mechanism .
You modified someone else's code , Inform the original author of your changes , I want him to merge your changes , This is it. Pull Request.”
Suppose to pull request The library is https://github.com/usernameA/repository
1.fork Original warehouse
First you need to check the library repository Conduct fork. hypothesis fork in the future , Warehouse repository In your github The address in is https://github.com/mynameA/repository
2. Modify the code , And upload it to the remote warehouse
perform :
git clone https://github.com/mynameA/repository # Remove the warehouse from your github Cloned
Create a branch feature、 modify 、add、commit、merge
git push -u origin feature # For the first time, it is necessary to specify origin and feature, In the future, you only need to enter git push Equivalent to git push -u origin feature
3. perform pull request
stay https://github.com/mynameA/repository Created in pull request, as follows :
Choose to mynameA/repository Which branch of merge To usernameA/repository Which branch of , as follows :
explain 1:
git push -u origin master
amount to
git branch --set-upstream-to=origin/master master // Remote warehouse origin Of master Branch and local warehouse master Branch connection
Add
git push origin master
explain 2:
In us push front , Local warehouses and https://github.com/usernameA/repository Keep in sync , Rather than https://github.com/mynameA/repository Keep in sync , Execute the following command :
git remote add remoteA https://github.com/usernameA/repository # Add remote Libraries , Name it remoteA
git fetch remoteA # Get the latest changes in the remote library
git merge remoteA/master # Merge the latest remote code into this branch
git pull remoteA/master:feature # Merge warehouses remoteA Medium master To the local warehouse feature In the branch
git pull = git fetch and git merge
The command format is as follows :
git pull < Remote host name > < Remote branch name >:< Local branch name >
Reference resources :pull request
git、github Introduction to nanny tutorial , Skills necessary for work and collaboration ,github Submit pr - pull request
边栏推荐
- [tcapulusdb knowledge base] Introduction to tcapulusdb table data caching
- Daily leetcode force deduction (21~25)
- R language dplyr package arrange function sorts dataframe data, sorts dataframe data through multiple data columns, specifies the first field to be sorted in descending order, and does not specify the
- Redis 分布式锁15问,看看你都掌握了哪些?
- Qstype implementation of self drawing interface project practice (I)
- 0基础了解电商系统如何对接支付渠道
- Jerry's adding timer interrupt [chapter]
- 进程间通信详解
- 力扣(LeetCode)177. 第N高的薪水(2022.06.26)
- Popular science of device review: popular science of innovative medical device series - sternum plate products
猜你喜欢
![[tcapulusdb knowledge base] Introduction to tmonitor system upgrade](/img/04/b1194ca3340b23a4fb2091d1b2a44d.png)
[tcapulusdb knowledge base] Introduction to tmonitor system upgrade

C语言0长度数组的妙用
![[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (I)](/img/04/b1194ca3340b23a4fb2091d1b2a44d.png)
[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (I)

Heap heap sort TOPK
![[tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction](/img/da/449a1e215885597a67344e2a6edf0f.png)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction

星际争霸的虫王IA退役2年搞AI,自叹不如了

pull request

【TcaplusDB知识库】Tmonitor系统升级介绍

Nvme2.0 protocol - new features

器审科普:创新医疗器械系列科普——胸骨板产品
随机推荐
Unity Shader学习(二)第一个Shader
This privatized deployed enterprise knowledge base makes telecommuting a zero distance
Safe landing practice of software supply chain under salesforce containerized ISV scenario
Youboxun attended the openharmony technology day to create a new generation of secure payment terminals
杰理之睡眠以后定时唤醒系统继续跑不复位【篇】
I.MX6ULL启动方式
Usage of rxjs mergemap
i.mx6ull(单片机) c语言环境搭建
R语言使用epiDisplay包的dotplot函数通过点图的形式可视化不同区间数据点的频率、使用by参数指定分组参数可视化不同分组的点图分布、使用dot.col参数指定分组数据点的颜色
R language uses GLM function to build Poisson logarithm linear regression model, processes three-dimensional contingency table data to build saturation model, uses step function to realize stepwise re
Wechat applet payment password input
C語言0長度數組的妙用
15+城市道路要素分割应用,用这一个分割模型就够了!
AutoCAD - three pruning methods
Wait, how do I use setmemorylimit?
杰理之DAC输出方式设置【篇】
Build the Internet of things system from scratch
matlab习题 —— 创建 50 行 50 列全零矩阵、全 1 矩阵、单位矩阵、对角矩阵,输出矩阵第135号元素。
【On nacos】快速上手 Nacos
R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、使用step函数基于AIC指标实现逐步回归筛选最佳模型、解读分析模型