Skip to content

Commit 46443ba

Browse files
authored
🔖 v1.0.0 (#8)
* 📝 Add `CHANGELOG.md` * 📝 Use GitHub admonitions
1 parent 633398b commit 46443ba

File tree

2 files changed

+54
-8
lines changed

2 files changed

+54
-8
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
6+
7+
## [Unreleased]
8+
9+
### Added
10+
11+
### Changed
12+
13+
### Deprecated
14+
15+
### Removed
16+
17+
### Fixed
18+
19+
### Security
20+
21+
## [1.0.0] - 2025-11-14
22+
23+
### Added
24+
25+
- Initial release of `gtr` (Git Worktree Runner)
26+
- Core commands: `new`, `rm`, `go`, `open`, `ai`, `list`, `clean`, `doctor`, `config`, `adapter`, `help`, `version`
27+
- Worktree creation with branch sanitization, remote/local/auto tracking, and `--force --name` multi-worktree support
28+
- Base directory resolution with support for `.` (repo root) and `./path` (inside repo) plus legacy sibling behavior
29+
- Configuration system via `git config` (local→global→system precedence) and multi-value merging (`copy.include`, `hook.postCreate`, etc.)
30+
- Editor adapter framework (cursor, vscode, zed, idea, pycharm, webstorm, vim, nvim, emacs, sublime, nano, atom)
31+
- AI tool adapter framework (aider, claude, codex, cursor, continue)
32+
- Hooks system: `postCreate`, `postRemove` with environment variables (`REPO_ROOT`, `WORKTREE_PATH`, `BRANCH`)
33+
- Smart file copying (include/exclude glob patterns) with security guidance (`.env.example` vs `.env`)
34+
- Shell completions for Bash, Zsh, and Fish
35+
- Diagnostic commands: `doctor` (environment check) and `adapter` (adapter availability)
36+
- Debian packaging assets (`build-deb.sh`, `Makefile`, `debian/` directory)
37+
- Contributor & AI assistant guidance: `.github/instructions/*.instructions.md`, `.github/copilot-instructions.md`, `CLAUDE.md`
38+
- Support for storing worktrees inside the repository via `gtr.worktrees.dir=./<path>`
39+
40+
### Changed
41+
42+
- Improved base directory resolution logic to distinguish `.` (repo root), `./path` (repo-internal) from other relative values (sibling directories)
43+
44+
[Unreleased]: https://github.com/coderabbitai/git-worktree-runner/compare/v1.0.0...HEAD
45+
[1.0.0]: https://github.com/coderabbitai/git-worktree-runner/releases/tag/v1.0.0

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ gtr.worktrees.prefix = dev-
266266
gtr.defaultBranch = main
267267
```
268268

269-
**⚠️ Important:** If storing worktrees inside the repository, add the directory to `.gitignore`:
269+
> [!IMPORTANT]
270+
> If storing worktrees inside the repository, add the directory to `.gitignore`.
270271
271272
```bash
272273
echo "/.worktrees/" >> .gitignore
@@ -333,7 +334,8 @@ gtr config add gtr.copy.exclude "**/.env"
333334
gtr config add gtr.copy.exclude "**/secrets.*"
334335
```
335336

336-
**⚠️ Security Note:** Be careful not to copy sensitive files. Use `.env.example` instead of `.env`.
337+
> [!WARNING]
338+
> Be careful not to copy sensitive files. Use `.env.example` instead of `.env`.
337339
338340
### Hooks
339341

@@ -506,7 +508,8 @@ gtr rm ci-test --yes --delete-branch
506508

507509
### Multiple Worktrees on Same Branch
508510

509-
**⚠️ Advanced Use Only** - Git normally prevents checking out the same branch in multiple worktrees to avoid conflicts. `gtr` supports bypassing this safety check with `--force` and `--name` flags.
511+
> [!TIP]
512+
> Git normally prevents checking out the same branch in multiple worktrees to avoid conflicts. `gtr` supports bypassing this safety check with `--force` and `--name` flags.
510513
511514
**Use cases:**
512515

@@ -534,7 +537,7 @@ gtr new feature-auth --force --name tests # Creates: feature-auth-tests/
534537
# The --name flag is required with --force to distinguish worktrees
535538
```
536539

537-
**Example: Parallel AI development on one feature**
540+
**Example: Parallel AI development on one feature:**
538541

539542
```bash
540543
# Terminal 1: Backend work
@@ -613,7 +616,7 @@ find . -path "**/.env.example"
613616

614617
## Architecture
615618

616-
```
619+
```log
617620
git-worktree-runner/
618621
├── bin/gtr # Main executable
619622
├── lib/ # Core libraries
@@ -696,8 +699,6 @@ Unless required by applicable law or agreed to in writing, software distributed
696699

697700
Built to streamline parallel development workflows with git worktrees. Inspired by the need for simple, configurable worktree management across different development environments.
698701

699-
---
700-
701-
**Happy coding with worktrees! 🚀**
702+
## Happy coding with worktrees! 🚀
702703

703704
For questions or issues, please [open an issue](https://github.com/coderabbitai/git-worktree-runner/issues).

0 commit comments

Comments
 (0)