You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah.
Thanks!
And that, presumably, is also why IPython TAB completion didn't complete to ". . . .gc", when I tried that.
So what might the "split=true" be in yours? I did a string split in mine, because the execute command seemed to want an iterable (like from space-separated command line arguments, I presume), rather than a string. But with a_repo.git.gc . . . there would be no additional arguments.
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())