I needed to use the file structure that someone had created locally and not yet published so I branched off of their branch using the command git checkout -b new_branch_name old_branch_name
. Now their changes are published. When I raise a PR to publish my work I would like the PR to be clean and only contain my work
Would the solution be to commit all my changes, switch to master, pull all latest changes, merge master into my branch, and then the other person's commits will not show up anymore?