Exclude index-directory in commit