wasnt proper as i misunderstood the manpage of gitignore, after some fiddling this one seems to work as intended