Some notes on using the git versioning system

  • BioShell code is versioned by git

    To checkout the newest source, run the following:

    git clone git@bitbucket.org:dgront/bioshell.git
    
    This will create a local directory named bioshell containing the source. Note, that you need bitbucket account to do this. Also, SSH key of the local machine must be registered at bitbucket.

  • Working in branches

  • Creating a local branch

    git checkout -b name_of_branch
    The new branch will hold all the changes you’ve intoduced to the branch you diverged from (which most likely is origin/master)

  • Uploading a local branch

    To push a local branch to bitbucket for the very first time, do the following:

    git push -u origin