Hoping to add all files in the directory using `git add .`, including files starting with a period like `.gitignore`. Calling the following: ```py repo.index.add(['.']) ``` Stages the `.git` folder and all its history.
Hoping to add all files in the directory using
git add ., including files starting with a period like.gitignore.Calling the following:
Stages the
.gitfolder and all its history.