Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何定制git推送后git生成的链接——设置上游_Git_Github_Pull Request - Fatal编程技术网

如何定制git推送后git生成的链接——设置上游

如何定制git推送后git生成的链接——设置上游,git,github,pull-request,Git,Github,Pull Request,第一次将更改推送到Github后,使用 git推送——设置为上游… git为我们创建一个pull请求URL,如 https://github.com/username/hello-world/pull/new/task 所以我的问题是,我们可以自定义这个URL吗?例如,添加一个标题,如https://github.com/username/hello-world/pull/new/task?title=new+PRGit不会生成此URL,GitHub会在终端中显示一些文本,其中恰好包含其服务器生

第一次将更改推送到Github后,使用
git推送——设置为上游…

git为我们创建一个pull请求URL,如
https://github.com/username/hello-world/pull/new/task


所以我的问题是,我们可以自定义这个URL吗?例如,添加一个标题,如
https://github.com/username/hello-world/pull/new/task?title=new+PR

Git不会生成此URL,GitHub会在终端中显示一些文本,其中恰好包含其服务器生成的URL,以回复推送。GitHub不提供更改此文本(包括URL)的方法。

Git不生成此URL,GitHub会使用终端中显示的一些文本回复推送,这些文本恰好包含其服务器生成的URL。GitHub不提供更改此文本(包括URL)的方法