Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion instructions_251105.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,31 @@ as well or instead. Find exercise groups seeing the marks on the tables.
- [create a fork](https://github.com/biosustain/recipe-book/fork)
(or request access as collaborator of the the recipe-repo)
- create a new branch from `main`, e.g. `add-aioli-pasta`
- create a commit with your new recipe draft
- create a commit with your new recipe draft using the template
<details>
<summary>See the recipe template</summary>

```markdown
# Title

## Ingredients

(For 4 People)

- ingredient 1
- ingredient 2

## Instructions

1. first step
2. second step

```

Please make sure to have the headings as shown above for consistency.
It will be checked.

</details>
- open a Pull (Merge) Request on GitHub to `origin/main`
- ask someone (by inviting them) to review your PR and get an approval
- I set-up the repo to require at least one approval before a merge is possible
Expand Down
15 changes: 15 additions & 0 deletions local_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,18 @@ git config --global user.email "you@example.com"
git config --global user.name "Your Name"
```
> could be added to local config using `git config user...`

Then you need to define how to handle merge conflicts, in case you have committed
changes locally and there are changes in the remote repository. The easiest way is to
always create a merge commit
([docs](https://git-scm.com/docs/git-config#Documentation/git-config.txt-pullrebase)):

```bash
git config --global pull.rebase false
# or only for this repository
git config --local pull.rebase false
```

Setting it to true has a the warning:
> NOTE: (setting it to true) is a possibly dangerous operation; do not use it unless you understand
> the implications. (see [git-rebase](https://git-scm.com/docs/git-rebase) for details)
Loading