提交和拉取请求有什么区别 [英] What is the difference between commits and pull requests

查看:66
本文介绍了提交和拉取请求有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如我所读过的那样,提交意味着我们已经更新了一些有错误的代码,并从引发问题的地方提交了该代码. 但是什么是拉取请求.

As I have read that commit means we have updated some code which has bugs and commited that code from where the issue is raised. But what is a pull request.

推荐答案

拉动请求是一种提交"到您没有写权限的存储库的方法.

A pull request is a way to 'commit' to a repository in which you don't have writing permissions.

该存储库的维护者将检查您的请求,并决定是将其与您的代码合并还是保留原始代码.

The maintainers of that repository will check your request and decide if they either want to merge it with your code or leave the original as it is.

这篇关于提交和拉取请求有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆