Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Branching

Lawrence (Drew) Whisenant edited this page Jan 6, 2019 · 3 revisions

To create a branch to work on, perform the following steps.

  1. On the repository's GitHub page.
    1. Click on the Branch button. Adding a branch
    2. Give the branch a unique name (do not use spaces - use hyphens, letters, and numbers) and press Enter. Naming a branch
  2. On your computer.
    1. Open a terminal window or command prompt that can run Git (make sure you are in the repo).
    2. Enter the git fetch command. Fetch
    3. Checkout the branch you want by typing git checkout -b name-of-branch origin/name-of-branch, where name-of-branch is the name of the branch you created. Checkout
    4. Make sure you have the latest version an enter git pull. Pull

You now have the latest version of the branch and can begin working.

Clone this wiki locally