Etymology
Today it means: An expression of shock and dismay. Full definition →
From shit + cakes.
Etymology from Wiktionary, CC BY-SA 4.0.