My sons loved to pull my hair or my earrings. Whenever they did that, I would put them down off my lap and tell them no. I would wait 30-60 seconds and then pick them up and continue feeding or holding them. If they did it again, I once again said no and immediately removed them from my lap. They quickly figured out that if they want to be be in mommy's arms, they have to be nice to mommy. I did the same thing if they tried to scratch or bite. They have a strong desire to be held by mom so they quickly learn how to behave when mommy is so lovingly caring for them. I know it sounds harsh to kind of "punish" an infant, but they have to learn to be gentle to others and after a bloody earlobe from my oldest ripping my earring out, I had to do something. Someone (I don't remember who) told me to stop feeding my son if he bit while nursing and put him in his playpen for 30-60 seconds, then pick him up and continue feeding and it worked for that so I tried it for the hair/earrings pulling and it worked then too.
You can also try to show her to be nice to mommy's hair, stroke or brush it but never pull. Or you can give her something else to hold so her hands are too busy to pull hair. I would hate for you to not be able to enjoy holding your daughter because she hurts you and is on her way to making you bald. So although it's heartbreaking to start discipline at such a young age, a 30 second time out (where she is sitting on the floor or in her playpen) wouldn't be that bad.
Good luck and I hope you find something that works.