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
11 changes: 11 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,17 @@ Follow the style guidelines detailed in AGENTS.md.

### Technical Guidelines

**Git Workflow:**

**IMPORTANT: When working with git branches and updates:**
- **DO NOT use `git rebase`** - Copilot agents don't work well with rebase operations
- **USE `git merge` or `git merge --ff` instead** - Use merge or fast-forward merge to integrate changes
- When updating your branch with changes from the main branch, use:
- `git merge origin/main` (creates a merge commit)
- `git merge --ff origin/main` (fast-forward if possible)
- Avoid rebase to prevent messing up commits and diffs
- This ensures commit history remains clear and conflicts are easier to resolve

**Building the Book:**
```bash
make # Generate the epub file
Expand Down
12 changes: 12 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@ make clean

## Technical Guidelines

### Git Workflow

**IMPORTANT: When working with git branches and updates:**

- **DO NOT use `git rebase`** - Copilot agents don't work well with rebase operations
- **USE `git merge` or `git merge --ff` instead** - Use merge or fast-forward merge to integrate changes
- When updating your branch with changes from the main branch, use:
- `git merge origin/main` (creates a merge commit)
- `git merge --ff origin/main` (fast-forward if possible)
- Avoid rebase to prevent messing up commits and diffs
- This ensures commit history remains clear and conflicts are easier to resolve

### File Organization

- Front matter: `book/front-matter/` (foreword.md, preface.md)
Expand Down