why are changes in remote tracking branch appear in my commits?

490 Views Asked by At

I'm new to Git. and there's something embarrassing that keeps happening to me every time i want to commit my changes and do a pull request. when i update my local branch from master using "merge" and try to commit my changes, the updates which i have merged into my branch appear when i want to push my local changes into the master. And appears in my pull request, which I'm not able to merge with the master branch because it will conflict together and rewrite existing code. Please help the commits which appear when i want to push my changes

0

There are 0 best solutions below