This page describes how to set up the doc team's source control, git, onto your laptop.
Edit me

Git Bash Set Up

  1. Install Git Bash by downloading from here: https://git-scm.com/
  2. Follow these steps to set up Git Bash for the first time: https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup

Clone BackOffice/dsp-docs repo to local

Prior to doing any work, you need to obtain a copy of the BackOfficeAssoc dsp-docs repository for your local computer.

To clone the BOA dsp-docs repo to your laptop:

  1. In GitHub, go to the BackOfficeAssoc account.
  2. Find the BackOfficeAssoc/dsp-docs repo.
  3. In the BackOfficeAssoc/dsp-docs repo, click the Clone or download button. Once you click it, it will reveal a URL that you need to copy and paste into your command line in the next step. Click the copy to clipboard button to the right of the url to copy it.
  4. Open Git Bash and navigate to the directory that you wish to download to.
  5. Run the git clone command using the SSH URL from step 3.
  6. Switch into your new directory by entering the git command cd dsp-docs
  7. Fetch the develop branch so that you have it in your local repo by entering the git command git fetch origin develop.