Its tough to find a good online walkthrough of the derivation for gradient descet with logistic regression. Most either only discuss linear regression, or just give the final update rule, without walking through the steps. These are decent:

- Andrew Ng’s Course Notes
- Simple Derivation of Logistic Regression from the WinVector blog. Doesn’t give you the SGD update rule, but does the hard work of finding the gradient. Great discussion of logistic regression in general, too.
- Notes From Jason Rennie. This also includes Newton’s method & L2 regularization, but skims over details.