-1

I'm trying to make a commit to a file, create a new branch in a bitbucket repository in my python script, how can I do that?

martineau
  • 119,623
  • 25
  • 170
  • 301
rahman
  • 9
  • 1
  • 2

1 Answers1

1

You could run the git commands as a typical shell command, but you may instead want to use a python binding for git, such as pygit2. The documentation has simple recipes for things like committing.

Ved
  • 301
  • 3
  • 6