Skip to content

Git practices

Jeff Fredrickson edited this page Nov 29, 2017 · 5 revisions

How to contribute

We generally follow the 18F model: How we Git.

If you have commit access to the repository:

  1. Create a feature branch
  2. Make your changes in your feature branch
  3. Commit and push your changes to your feature branch
  4. Preview your changes on Federalist at https://federalist.18f.gov/preview/gsa/cto-website/YOUR_FEATURE_BRANCH/ (where YOUR_FEATURE_BRANCH is the name of your branch)
  5. When all looks correct, open a pull request to the master branch

As soon as your pull request is accepted, your changes will go to production.

Resources

Clone this wiki locally