是否可以通过命令行在纯Git中创建合并请求? [英] Is it possible to create merge requests in pure Git from the command line?

查看:601
本文介绍了是否可以通过命令行在纯Git中创建合并请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我可以进入Web应用程序并从克隆中创建一个拉取请求,并将目标放在主回购站从中克隆它。



我希望能够在命令行上做到这一点。更具体地说,我希望能够从一个分支到另一个分支(而不是从克隆到种子回购)从命令行打开合并请求。

因为我没有使用Github,所以我不能使用。这可能吗?

git本身没有合并请求这样的事情。所以,如果这是可能的,那就需要Gitorious特定的工具。这在纯粹的git中是不可能的。


I'm using a behind-firewall install of Gitorious.

I can go into the web application and create a pull request from a clone and target the master repo from which it was cloned.

I'd like to be able to do this on the command line. More specifically, I'd like to be able to open merge requests from the command line from one branch to another (rather than from clone to seed repo).

Since I'm not using Github, I can't use Github specific tools or libraries. Is this possible?

解决方案

There is no such thing as "merge request" in git itself. So, if this would be possible, it would require Gitorious-specific tools. It's not possible in pure git.

这篇关于是否可以通过命令行在纯Git中创建合并请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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