git 实现pr功能_使用Git别名实现更快的PR拉

git 实现pr功能

I love the traditional GitHub workflow of receive pull request, pull down pull request to test, and merge the pull request.  GitHub makes the first and the third steps easy but pulling down pull requests from new contributors requires some boilerplate work that annoys me...

我喜欢传统的GitHub工作流程,即接收拉取请求,拉下拉取请求进行测试以及合并拉取请求。 GitHub使第一步和第三步变得容易,但是要撤消新贡献者的请求就需要一些样板工作,这使我很烦。

...namely navigating to their fork and copying the fork address so that I can do:

...即导航到他们的fork并复制fork地址,以便我可以执行以下操作:


git pull https://github.com/some-new-user/repo.git branch-name


And since you don't know if the author will be contributing more in the future, there's no point in adding them as a remote (via git remote add) -- you'll just muddy up your remote listing.

而且由于您不知道作者将来是否会做出更多贡献,因此将它们添加为

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值