Git help

Soldato
Joined
1 Mar 2003
Posts
5,508
Location
Cotham, Bristol
Git is quite new to me but I'm slowly getting used to it. So let me describe the scenario that's confusing me now

- I have a branch called A, I need to create a fix based on A so I create a new branch called B and check it out.
- I modify some files whilst in B and then switch back to A
- At this point I do a git status and see unstaged changes to files I modified in branch B
- Ok switch back to B stage changes then switch back to A
- The changes are also staged in A

I'm confused?
 
Back
Top Bottom