Getting Started
This guide assumes you are familiar with several git concepts. If you are not, the list of concepts below also function as links to the documentation for that concept.
The concepts in question are:
- Adding and committing changes
- Working with remotes
- Pushing changes
- Pulling changes
- Branching
- Merging
This guide will go through the standard process for making changes to the production repository and some habits you should form when coding.
Note that these are only standards and that the scenarios outlined might not always line up with reality. You might need to take slightly different steps in the event that your situation is some kind of edge case not accounted for here.
Critical Reminders
In general, non-senior developers should NEVER do the following:
- Commit changes to the
masterbranch - Merge a branch into the
masterbranch - Commit changes to the
devbranch - Merge a branch into the
devbranch - Open pull requests before merging the
devbranch into yourfeaturebranch
If you don't understand what some of the above reminders mean, that's ok. They will be reiterated again later in context.
Let's Get Started
Alright, now we can really get going. Go on to the next page to learn how you should begin working on a fresh production repository that you just cloned.