1

When I switch to a branch, I can see modifications done in other branch ...

Sample : - I'm on master - I switch to branc A - I do some modifications - status show me modified files - I switch to master - status is always showing me the same modifications

I have already used branches on other project and other computer without this problem : when I switched to another branch, the modifications were not more visibles ...

Any idea ?

Thanks,

Xavier

Zoe stands with Ukraine
  • 25,310
  • 18
  • 114
  • 149
xnopre
  • 445
  • 1
  • 4
  • 10

1 Answers1

1

By just doing some modifications to files, you don't actually modify any branch. In particular not the branch you're on. As long as you didn't commit anything, nothing of your work is specific to a particular branch.

Frerich Raabe
  • 86,449
  • 18
  • 111
  • 204
  • Hi,Thank you for your reply. OK, I didn't remember I have to commit .... Sorry and thanks ! Xavier – xnopre Jan 18 '12 at 08:46