-
Notifications
You must be signed in to change notification settings - Fork 53
How we Git
Jeff Fredrickson edited this page Jul 27, 2020
·
5 revisions
We generally follow the 18F model: How we Git.
The master
branch contains the production code. All changes should initially be made in a feature branch, then submitted for merging to master
via a PR. Federalist continuously deploys master
to production.
If you have commit access to the repository:
- Create a feature branch
- Make your changes in your feature branch
- Commit and push your changes to your feature branch
- Preview your changes on Federalist at
https://federalist-ecc58765-2903-48b3-920c-5d93318ad084.app.cloud.gov/preview/gsa/open-gsa-redesign/YOUR_FEATURE_BRANCH/
(whereYOUR_FEATURE_BRANCH
is the name of your branch) - When all looks correct, open a pull request to the
master
branch
If you don't have commit access to the repository:
- Fork the repository
- Make changes in your fork
- Commit the changes in your fork
- Open a pull request to merge your changes into the open-gsa-redesign
dev
branch.
As soon as your pull request is accepted, your changes will go to production.
- Basic info and schedule
- #GSAhackathon: Our hashtag for the day
- Food: Here are some nearby places
- Code of Conduct: Please review the event code of conduct
- Questions?