I like my girlfriend too much, she doesn't like me as much as I like her. How do I lower my attachment?

I am tired of feeling on the bottom of the relationship and I am determined to do it. I want my girlfriend to respect me and someday love me. But until then I don't want to care that much about her. What I am looking for is that I want to feel even if she dumps me, that I would not care that much.
I like my girlfriend too much, she doesn't like me as much as I like her. How do I lower my attachment?
Post Opinion