Skip to content

Git practices

Jeff Fredrickson edited this page Oct 4, 2016 · 5 revisions

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

Our default branch is dev, so make all pull requests (PRs) and commits on that branch. You can preview dev on Federalist at: https://federalist.18f.gov/preview/GSA/cto-website/dev/.

Once we are ready to move changes from development to production, we will merge dev into master.

Feature branches

When you commit a feature branch (as explained in 18F's How we Git page) to the repository, you can preview that branch on Federalist. The URL for your feature branch will be: https://federalist.18f.gov/preview/GSA/cto-website/BRANCH_NAME/ (replace BRANCH_NAME with the name of your feature branch).

Clone this wiki locally