we have a main repo
name as AppDev
and we forked it also I cloned to my local system.
Every time I am committing updated code in the following way.
localsystem(Clone)-->forkedRepo/particularbranch
git add file
git commit -m "Comment"
git push origin
After running the above commands, I am getting updated code into my forked repo.
Know I want to send pull request from forkedrepo/particulareBranch
to main(AppDev)repo/particulareBranch
.
I know,how to do this by web page.But I want to send pull request through Git Power shell
.
can anyone suggest me with corresponding commands.
Thanks.
You can use git request-pull
which isn't Powershell specific.
The command would be, assuming your inside your forked repo:
git push # must push into the public repo
git request-pull origin/master forkedRepo/particularbranch
You would then send/email the output of that command to the original maintainer, which has all the information needed to submit your pull request.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.