Thanks
Ok, i have figured out that commits get linked automatically, if a ticket name is mentioned in the commit description. The only thing left is to find out how to use Netbeans for commits (or start using Eclipse), but i can do changes via web for now.