exclude index from commit