Changes to other branches in tfs appear in the branch I act on

I don't know much about TFS. But one thing is driving me crazy. Whenever I open a certain branch to work, when I finish and go to PENDING CHANGES to make checkin and I see that in addition to the changes that have been made, changes not committed of other branches appear. So I keep giving Exclude . My colleague told me commit all these files I give Exclude , however I am afraid of affecting the project irreparably, as many are deletions (delete). But what intrigues me the most are changes from other branches that appear in the branch that I am working on. The question is: how do you prevent these files from appearing and leave only the changes of the current branch? Avoid the Exclude

Author: pnet, 2019-05-29