Versions Compared

Key

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

...

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. Set Prefered Protocol as HTTPS.
    3. Authentication as Basic.
    4. In Username, enter your Bitbucket account username.
    5. Click Refresh Password to authenticate username.

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

Creating

...

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 a repository:

  1. Launch SourceTree.
  2. Click Create.
  3. In the Destination Path, select a folder path where you would like to save and work on your local repository.
  4. Enter the prefered repository name.
  5. Select GIT.
    (info) Qualitia supports GIT repositories only. Support for Mercurial is not yet added.
  6. Select the Create Repository on Account option.
    In Repository Settings, Bitbucket account details appear that are added while configuring SourceTree. 
  7. Add Description, if required.
  8. Select Is Private option to mark this repository as a private repository. 
    Keeping repositories private enables you to control who can access and update data from your repository. This is important to avoid discrepancy in the project data.  

  9. After the repository is created and cloned, add a sample text file into the repository and commit it.
  10. To commit sample file, 
    1. Navigate into the folder where you have cloned created 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.

...