mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 16:02:15 +02:00
Expand on Merging and PRs documentation
This commit is contained in:
parent
b3795246d4
commit
7d435ad605
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,7 @@ We use the branch convention of `initials/branch-topic` (ex: `lmm/fix-footer`).
|
|||
|
||||
## Merging and PRs
|
||||
|
||||
History preservation and merge contexts are more important to us than a clean and linear history, so we will merge instead of rebasing.
|
||||
To bring your feature branch up-to-date wih main:
|
||||
|
||||
```
|
||||
|
@ -34,6 +35,11 @@ git merge orgin/main
|
|||
git push
|
||||
```
|
||||
|
||||
Resources:
|
||||
- [https://frontend.turing.edu/lessons/module-3/merge-vs-rebase.html](https://frontend.turing.edu/lessons/module-3/merge-vs-rebase.html)
|
||||
- [https://www.atlassian.com/git/tutorials/merging-vs-rebasing](https://www.atlassian.com/git/tutorials/merging-vs-rebasing)
|
||||
- [https://www.simplilearn.com/git-rebase-vs-merge-article](https://www.simplilearn.com/git-rebase-vs-merge-article)
|
||||
|
||||
## Setting Vars
|
||||
|
||||
Non-secret environment variables for local development are set in [src/docker-compose.yml](../../src/docker-compose.yml).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue