Portfolio credit derivatives are contracts that are tied to an underlying portfolio of defaultable reference assets and have payoffs that depend on the default times of these assets. The hedging of credit derivatives involves the calculation of the sensitivity of the contract value with respect to changes in the credit spreads of the underlying assets, or, more generally, with respect to parameters of the default-time distributions. We derive and analyze Monte Carlo estimators of these sensitivities. The payoff of a credit derivative is often discontinuous in the underlying default times, and this complicates the accurate estimation of sensitivities. Discontinuities introduced by changes in one default time can be smoothed by taking conditional expectations given all other default times. We use this to derive estimators and to give conditions under which they are unbiased. We also give conditions under which an alternative likelihood ratio method estimator is unbiased. We illustrate the application and verification of these conditions and estimators in the particular case of the multifactor Gaussian copula model, but the methods are more generally applicable.