简体   繁体   中英

How to do a pull request if i did the changes on a cloned repository?

I am a newbie to git and i made the mistake of cloning a repository and added some changes on different branches to that one. How can i possibly do a pull request to the original repository considering that i have multiple branches that i have to do a pull request to?

Commit and push your code to repo:

git add .
git commit -m "some commit message"
git push origin your_branch_name

Create a pull request by clicking on Pull Request tab Click on create pull request.

Verify your changes and merge the 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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM