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?
Asked
Active
Viewed 79 times
-1
-
No, how do i link to the bitbucket repository – rahman Jul 15 '22 at 16:15
1 Answers
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