Starting With A Fresh Repo

The following scenario outlines the commands you would run when you are ready to begin making changes to the production repository after cloning it.
This means that you are probably starting to work on a new feature or fixing a bug that exists on the dev branch.

  1. To start out, you should always run git status to find out what branch you are on currently and if you are up to date.
  2. If you aren't currently on the dev branch, run
    git checkout dev
  3. Now, make a branch off of dev with a name that succintly describes what you are about to work on:
    git checkout -b feature-name-here

You can now begin working on your new feature! Make sure you are making small but frequent commits on your feature branch so that the code review process is faster.

Continue to the next page to learn more about how the repository is structured/organized for an optimal workflow.