- Make a local copy of this repo:
git clone git@github.com:tgashby/FTM.git
. This gets you the master branch. - Switch to the master branch if you aren't on it
git checkout master
- Update the master branch to the most recent version:
git pull origin master
- Make a local branch for each new feature:
git checkout -b my-feature-branch
(changemy-feature-branch
to the name of your feature or bug fix). - Commit your changes to that branch.
git commit -m "Your Message here"
. You can commit multiple times to the same branch. - Make sure you have pulled the other changes that have occurred since you originally created your branch.
git pull origin master
. - Push your changes to a branch on github:
git push origin my-feature-branch
. - Make a pull request when you're ready. Do this from the Github interface.
- Someone will review your changes and merge them in.
- Go back to step 2.