Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


...

Info
titleImportant Note

At the end of this topic, Qualitia admin user will be able to install and configure Sourcetree.


Multiexcerpt macro
nameInstallandConfigureSourceTree

Install SourceTree and Configure Credentials

In order to start working with your Bitbucket repositories, you must first install and configure sourceTree. 

  1. Download and install SourceTree.
  2. Post installation, launch SourceTree.
  3. From the Tools menu, select Options.
  4. In Authentication, click Add.
    1. Set Hosting Service as Bitbucket.
    2. Enter the Host / IP and port number where Bitbucket server is hosted.
      This option is only available for Bitbucket Server edition. 
    3. Set Prefered Protocol as HTTPS.
    4. Authentication as Basic.
    5. In Username, enter your Bitbucket account username.
    6. Click Refresh Password to authenticate username.

      An Authentication window appears.
    7. Enter your Bitbucket password.
    8. Select the Remember Password option and then click Login.
      SourceTree is now configured for working with the Bitbucket repositories.

Creating and Cloning Repository

After you configure SourceTree, you can now create a repository and clone it on the local system.

(info) This activity needs to be performed by Qualitia Administrator who is responsible for creating projects. 

To create and clone repository:

...

    1. repositories

...

  1. Navigate into the folder where you have cloned the repository on the local system.
  2. Create a new sample.txt file with sample text in it.
  3. From SourceTree, stage the file and add comment, if required.
  4. Select Push changes immediately option and click Commit.
Info

This is a one-time activity for each repository you create on Bitbucket. Commiting sample file is mandatory for creating new branches into the repository to add Qualitia project data.

Adding Existing Qualitia Projects to Bitbucket Repository

After you clone the repository, you can now add your existing Qualitia projects to the Bitbucket repository.

Info

This is a one-time activity for each of the existing Qualitia project. Once the project is added to the repository, all the changes made to the repository are automatically updated by Qualitia. 

To add existing projects to Bitbucket repository:

...

  1. Click Branch > New Branch.
  2. Enter New Branch name.
  3. Ensure that Checkout New Branch option is selected.
  4. Click Create Branch.
    Image Removed

...

    1. .