Hello I encountered this odd behavior a few years back and it’s annoying af. It seems like it changed overnight at some point to me anyway.
Expected behavior: When I checkout a new branch ‘y’ from branch ‘x’ and do some work on ‘y’ I expect branch ‘x’ to be exactly the same as before I checkedout ‘y’ whenever I go checkout back into branch ‘x’.
Whats bugging me: When I return to branch ‘x’ the work I did in branch ‘y’ is reflected on ‘x’ unfortunately wtf?!?!
Git version 2.31.1 - windows 10
Men of culture we'll meet again!
Edit: what needs to be done for subbranches to inherit from parent and for parent branches to stay independent from childs. If I want to mimic subbranch I'll pull. Hello there is a thought.