Versions Compared

Key

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

Table of Contents
stylenone

Tip

In the basis of this article lies GIT repository idea: dedicated server stores repository and project team downloads/uploads changes from/to it.
SourceTree is just a program used for managing work process of using mentioned approach.

Prerequisites

...

How to get the project code on your machine

...

  1. Log in 

    Please log into services.burti.lv/stash

    .

    :
        Image Modified

  2. Choose a project from the project list.

     You will only


    You will be able to see the projects you have access to

    .

    :
        Image Modified

     

    Choose
  3. Please choose a Repository

    .

    :
        Image Modified


  4. On the left side under Actions click on Clone to , please click Clone button to clone repository to your computer's SourceTree client. 
    Please note that under the "Source" label there is a dropdown, where you can select the brach you would like to clone. 
    Please go though manual Usage of Git master and develop branches in code deployment for getting understanding about branches  to get overall understanding about branch concept. 

        Image Added

    Tip

    Please note that stash will show you all files having a part in the developmentthat repository has. Usually it will just "halcust" folder.

    Image Removed

     


  5. A window with project file and a button Clone in SourceTree will appear. Click on Clone in SourceTree.
        

  6. If Browser asks for permission to launch your SourceTree client, please Click on Launch Application.
    If you don't want to see this window again you can mark Remember my choice for all links of this type.
        

  7. Then a window will open where to choose Checkout branch (see the point 4.), Destination Path (specify location where local files from repository will be stored), Bookmark Name (local name for repository: since there can be several projects you are working on, please choose convenient name for this repository). Then click on Clone.
        

     

  8. Please go to the destination path you have selected in the previous step. You may already copy files to the server and see the code working on your software.

    Tip

    Please note that after running SourceTree program you may select repositories with bookmark names from step 7.

        

    [-] Please use double-click to change branches

    [-] Please use "Fetch" to refresh repository status (this will not update files on local machine)

             
            Usually first checkbox is selected, which means update the status of whole repository.

    [-] Use the "Pull" button to get files download from repository to the local destination (selected in the step 7)
             
            Please use 2 first checkboxes when Pulling changes from repository. 

    Creating an archive

    In the case you need to create an archive of repository to be send to another party, please do following:
     - Please open the SourceTree program
     - Select needed repository which needs to be archived
     - In top menu select "Repository > Archive..."

            Image Added

     - Press the "..." button and please select location and the name of the archive.
            Image Added
     - You can find repository archive under location you have been specified.