推分支时的Github拉请求链接 [英] Github pull request link when pushing branch

查看:81
本文介绍了推分支时的Github拉请求链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在github上将一个分支推送到我的遥控器时,它给了我消息:

When I pushed a branch to my remote on github it was giving me the message:

remote: Create a pull request for 'branch-name' on GitHub by visiting:
remote:      https://github.com/repo/pull/new/branch-name

拥有该可点击链接真是太好了.不再给我该链接,我该如何找回它?

which was really nice to have that clickable link. It is no longer giving me that link, how can I get it back?

推荐答案

这是最近的版本(2018年9月)

This is fairly recent (sept. 2018) and is described as:

当您从命令行将新分支推送到GitHub 时,您现在会注意到输出中的URL,您可以将其复制以便快速打开新的拉取请求.

When you push a new branch to GitHub from the command line, you’ll now notice a URL within the output which you can copy in order to quickly open a new pull request.

因此,这是在推送 new 分支时,而不是在将新的提交推送到现有分支时.

So this is when you are pushing a new branch, not when you are pushing new commits to an existing branch.

这篇关于推分支时的Github拉请求链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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