i mean that i have a legendary giratina and i want 2 give 1 2 my friend but im not sure if you can breed it with a ditto.
No, Ditto can breed with any pokemon except legendaries (but it can with Manaphy to get Phione).
You can look here for some more info: http://www.serebii.net/diamondpearl/breed.shtml
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.