A rubber, rather than metal, head will show less wear and tear on the edging. However, if a metal hammer is all that’s available, it can be used if you do so gently. Try wrapping a cloth around the metal head of the hammer, or use a block of wood between the hammer and the edging to cushion the blows.