rewrote add gitignore in node so it is cross platform compatible