You are talking about lashing out in temper at your baby.
Yes. Unreasonable. But you know that.
She didn't do it to you. At that age they simply do stuff based on how they're feeling. There's no malice and they aren't trying to hurt you, they react to what they are feeling and spew that out, they don't consider you at all, iyswim, and the best advice I can give you is to try to remember that.
It is important to recognise that you are feeling frustration and that your feelings are your responsibility, and that you must not go down the road of blaming your child for your feelings and treating her in a certain way because of that.
When she begins to bring her hands to you, stop whatever you are doing (no matter how messy or inconvenient you may feel it is to do so) and grab her hands. Use the fact you are stronger and quicker. Hold her hands - but not hurting her - and look at her and say "No hitting" then lower her arms to her sides and let go. When she moves them up again to have another go (and she will), grab them again, say "No." and lower them and let go.
Do this every single time, firmly and calmly. Don't expect instant results.
But eventually she will learn.
And take a deep breath and try to relax. Parenting is hard. None of us have all the answers and we all feel angry and overwhelmed at times and we all make mistakes and mishandle things and we learn from that.