0

I have registered on bitbucket cloud using Gmail login, now I want to create a pull request from the command line. How can I do this?

Upendra
  • 127
  • 1
  • 7

1 Answers1

0

Start by creating a personal access token for your bitbucket account: from the settings page of your bitbucket account, create a bitbucket personal access token. Then, as stated on that documentation page,

For git operations, you can use your personal access token as a substitute for your password.

Now you can create a pull request two ways:

  1. Use the bitbucket API directly (and a utility like cURL, or Python requests) - see bitbucket API reference for pullrequest)

  2. Use one of the command line tools mentioned in this StackOverflow answer.

charlesreid1
  • 4,360
  • 4
  • 30
  • 52