如何通过git power shell发送pull请求
我们有一个主要的如何通过git power shell发送pull请求,git,powershell,github,pull-request,Git,Powershell,Github,Pull Request,我们有一个主要的repo名称为AppDev,我们还将其分叉,我将其克隆到本地系统 每次我以以下方式提交更新的代码时 localsystem(Clone)-->forkedRepo/specialbranch git add file git commit -m "Comment" git push origin 在运行上述命令之后,我将更新的代码放入我的forked repo中 知道我想将请求从forkedrepo/specialebranch发送到main(AppDev)repo/speci
repo
名称为AppDev
,我们还将其分叉,我将其克隆到本地系统
每次我以以下方式提交更新的代码时
localsystem(Clone)-->forkedRepo/specialbranch
git add file
git commit -m "Comment"
git push origin
在运行上述命令之后,我将更新的代码放入我的forked repo中
知道我想将请求从forkedrepo/specialebranch
发送到main(AppDev)repo/specialebranch
我知道,如何通过网页实现这一点。但我想通过gitpowershell
发送pull请求
有人能给我建议相应的命令吗
谢谢。您可以使用非特定于Powershell的git请求拉取功能 假设您在您的分叉回购中:
git push # must push into the public repo
git request-pull origin/master forkedRepo/particularbranch
然后,您将该命令的输出发送/通过电子邮件发送给原始维护者,该维护者拥有提交拉取请求所需的所有信息。不是GitHub特有的,但git支持本机拉取请求:您能用我的名字解释一下吗。据我所知,
origin
指向我的分叉回购。我假设我在我的分叉回购中更新了代码。在我必须向mainprepo/specialbranch
发送拉取请求之后。为此,我可以按以下方式发送git请求拉入origin/particularBranch mainrepo/particularBranch
。是否正确。