Files
ghorg/examples/bitbucket.md
2022-07-31 10:21:31 -07:00

810 B

Bitbucket Examples

Note: all command line arguments can be set in your $HOME/.config/ghorg/conf.yaml for more information see the configuration section of the readme

Bitbucket Cloud

  1. Clone the microsoft workspace using an app-password

    ghorg clone microsoft --scm=bitbucket --bitbucket-username=<your-username> --token=<app-password>
    
  2. Clone the microsoft workspace using oauth token

    ghorg clone microsoft --scm=bitbucket --token=<oauth-token>
    

Hosted Bitbucket

  1. Clone a workspace on a hosted bitbucket instance using an app-password

    ghorg clone <workspace> --scm=bitbucket --bitbucket-username=<your-username> --token=<app-password> --base-url=https://<api.myhostedbb.com>/v2