Skip to content

add(['.']) adds the .git folder #1444

@agirault

Description

@agirault

Hoping to add all files in the directory using git add ., including files starting with a period like .gitignore.

Calling the following:

repo.index.add(['.'])

Stages the .git folder and all its history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions