Skip to content

best way to do things like 'git gc' #1093

@bdklahn

Description

@bdklahn

I've already read "Using git directly".
But using IPython object introspection, it doesn't look like something like "gc" is a method there.

The following seems to work. Is that the recommended way?

a_repo.git.execute("git gc".split())

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions