In order to start working with your Bitbucket repositories, you must first install and configure sourceTree. Install SourceTree and Configure Credentials
An Authentication window appears.
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.
This activity needs to be performed by Qualitia Administrator who is responsible for creating projects.
To create and clone repository:
- Launch SourceTree.
- Click Create.
- In the Destination Path, select a folder path where you would like to save and work on your local repository.
- Enter the prefered repository name.
- Select GIT.
Qualitia supports GIT repositories only. Support for Mercurial is not yet added. - Select the Create Repository on Account option.
In Repository Settings, Bitbucket account details appear that are added while configuring SourceTree. - Add Description, if required.
- 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. - After the repository is created and cloned, add a sample text file into the repository and commit it.
- To commit sample file,
- Navigate into the folder where you have cloned the repository on the local system.
- Create a new sample.txt file with sample text in it.
- From SourceTree, stage the file and add comment, if required.
- Select Push changes immediately option and click Commit.
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.