commit dir with gitignore