This page describes the process the doc team uses to clone the igc-help GitHub repo to their laptops.
Edit me
Clone repo to local
- In the BackOfficeAssoc/igc-help 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.
Note: There are various options for cloning. We will be doing the clone from the command line, so copy the SSH URL shown.
- Open Git Bash and navigate to the directory that you wish to download to.
Note: The repository will be cloned into a new directory below the one you specify, with the same name as the repository, ex.
C:\\heathercloward\\Documents\\GitHub\\igc-help
.Tip: In Windows Explorer, you can right-click in a folder and select Git Bash Here from the dropdown menu to open the command prompt at that location. - Enter the git clone command using the SSH URL from step 1.
Note: Example: git clone git\@github.com:BackOfficeAssoc/igc-help.git
- Switch into your new directory by entering the git command cdigc-help
Note: You will know you are in the correct directory by the command prompt, ex. Documents/GitHub/igc-help (master) - shows repo name and branch name.
- Fetch the develop branch so that you have it in your local repo by entering the git command git fetch origin develop.