Skip to content

Releases: ksred/ccswitch

v1.0.0

06 Oct 11:23

Choose a tag to compare

ccswitch 1.0.0

A friendly CLI tool for managing multiple git worktrees.

Installation

You can install ccswitch using the install script:

curl -sSL https://raw.githubusercontent.com/ksred/ccswitch/main/install.sh | bash

Or download the binary for your platform from the assets below.

What's Changed

See the changelog for details.

Changelog

  • 4b1b8a8 - Updated Dockerfile.test with an extra line for EOF handling and added a comment for manual testing. - Enhanced Makefile by integrating buildhelper utility for consistent messaging across build, install, test, and other operations; replaced shell echo commands with go run internal/buildhelper/main.go. - Added a line to the README.md acknowledging the tool's creator. - Introduced a new command checkout.go for checking out branches into new worktrees. - Refined messages in commands under cmd/ directory to use ui package's formatted output functions. - Registered the new checkout command within root.go. - Updated go.mod and go.sum to include dependencies for colored output. - Implemented a buildhelper utility within internal/buildhelper for standardized output formatting during build processes. - Enhanced internal/errors with logic to handle branch-not-found errors. - Developed checkout session support in internal/session/manager.go with logic to handle potential errors and session management. - Revised UI styles and functions in internal/ui/styles.go for more comprehensive and color-coded message support using lipgloss and color packages.
  • 622b126 Add GitHub Actions workflow for release automation
  • 9581c66 Add bulk cleanup feature with --all flag
  • 6ffe4c8 Add debug output for worktree creation
  • c63291a Add debug output to worktree creation
  • abffbd2 Add embedded shell integration with automatic directory switching
  • 2083df4 Add main repository to session list and enable switching
  • 8258384 Add more debug output for path tracking
  • 90c67a8 Add tests for worktree path fix
  • b129371 Fix GetMainRepoPath to handle .git correctly and remove debug output
  • 13d3311 Fix hanging issue when running ccswitch without arguments
  • 39fee88 Fix shell integration and improve UI formatting
  • ce8d799 Fix worktree creation path issue
  • 6f51552 Fix worktree path to include repository name
  • 686c98c Initial release of ccswitch - A git worktree session manager
  • 8162e0b Merge list functionality into switch command and fix output formatting
  • c55bc05 Merge pull request #1 from ksred/feature/add-main-to-switch-list
  • a7d9eb9 Refactor ccswitch implementation and testing:
  • 998908a Refactor switch command to use interactive session selector
  • 220e4d5 Remove IMPROVEMENTS.md to streamline the repository and updated the README.md to eliminate obsolete references to ccsplit, ensuring consistency within the project's documentation.
  • 7b5ea43 Remove uncommitted changes restriction for worktree creation
  • 4ae176d Replace switch command with interactive list command
  • 0daa2a8 Revert "Merge list functionality into switch command and fix output formatting"
  • 4ca28db Update session creation output to use 'ccswitch switch' command instead of 'cd' for entering sessions. Removed calculation of home directory path and construction of worktree path.