Fetching details from the dictionary...

to attach; to join; to connect; to add; to append; to affix; to stick; to glue; to fasten; to sew on; to apply (ointment); to put against
to furnish (a house with)
to wear; to put on
to keep a diary; to make an entry
to appraise; to set (a price)
to allot; to budget; to assign
to bring alongside
to place (under guard or doctor)
to follow (someone); to shadow; to tail; to stalk
to load; to give (courage to)
to keep (an eye on)
to establish (relations or understanding)
to turn on (a light)
to produce flowers (of a plant); to produce fruit
to do intensely; to do fiercely; to do strongly
to be used to (doing); to be accustomed to
日記に印を付ける習慣がある。
I have a habit of marking my diary.
毎日日記を付ける習慣を始めることにした。
I started the habit of keeping a diary.
外れたボタンを針と糸で服に付け直した。
I attached the loose button to the clothes.