use a bowline hitch. (remember Boy Scouts?) That knot will not come undone by itself like a stack of half hitches will, and it can be easily untied if needed.