Creating a Repository for Qualitia Projects
After you configure SourceTree, you can now create a repository on the local system.
These steps should be performed by Bitbucket administrator who is responsible for creating and maintaining Bitbucket repositories.
To create a 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 preferred repository name.
Repository name should not contain white spaces. - 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, add a sample text file into the repository and commit it.
- To commit sample file,
- Navigate into the folder where you have created 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.