Replace 'dir/*' with 'dir/' in gitignore_global file