Learn to keep a high cadence and push a ridiculously low gear and you'll be able to shift most any time you wish. You'll also find out that you can climb that hill faster than you ever did before.
Only when you run out of a lower gear to shift to should you let your cadence get lower than 75-80 rpm. Though there are some if's and's and but's.
Welcome to BF!