It's silly really, I made a pull request yesterday on branch_A to master. Many files were changed and I don't want to add more to it. I switched to a new branch from branch_A to branch_B. I added the files I wanted to commit, and pushed from branch_B.
On Github, if I want to merge this commit to master, it shows that both the pr I made on a separate branch and this new commit are together. I did not want to push this commit to my previous pull request. I thought since I was on a new branch, that it would create a way to make a new pull request.
Should I remove the commit and try a different way? Should I merge the commit and pr? Should I just submit the pull request as is? Should I try to push this commit to Branch_A instead of master? There are many questions.
Here's a look at the cli steps:
- git branch -vv (master, branch_A)
- git checkout -b branch_B
- git add .
- git commit -m"something cool"
- git push origin branch_B
Any help would be great!