Enharmonic Shift: # ⇧3 – Logic Pro keyboard command of the day (KCotD)

  Enharmonic Shift: #    ⇧3

Change the notation for the current note(s) to the enharmonic spelling using sharps. A rare occurrence, but sometimes necessary.

Change how accidentals appear in a score in Logic Pro – Apple Support

By default, the display of accidentals depends on the chosen key signature. Using note attributes, you can change flats to sharps, and vice versa. For information about setting the key signature, see Add key and time signature changes to a score in Logic Pro.