My every pull request is visible as an commit to all the previous pull requests and this boggles my mind and as I want each PR to have only its commit visible See the image.
In this image, "testbranch2", "testbranch3" and "update1" are all different branches. I don't want their commits to be visible in the "testbranch3" pull request...
way I make commits and pushes
git add .
git commit -m "update2"
git push --set-upstream origin "branchName"
//then I create new branch before I start working
git checkout -b "branchName2"
What am I doing wrong ?
CodePudding user response:
What am I doing wrong ?
Believing in branches.