Skip to content

Git practices

Jeff Fredrickson edited this page Apr 14, 2020 · 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-cfade689-2192-403e-a4d0-0335f68f0203.app.cloud.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