In A Tale of Two Cities, the knitting refers to the women who knit during the French Revolution. These women were known as the tricoteuses and they would sit in the front row of the galleries at trials, executions, and other public events. They would knit while they watched, and their knitting was seen as a way to show their support for the Revolution.