Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: carlosarraes/chr

v0.1.3

28 Jul 16:35

Choose a tag to compare

chr v0.1.2 - Enhanced Debug and Local Branch Priority

09 Jul 20:17

Choose a tag to compare

🚀 Features

  • --debug flag: Control debug output with or
  • --no-filter flag: Disable smart deduplication to show latest N commits without filtering
  • Auto-install: Building chr...
    go build -ldflags "-X main.version=0.1.2" -o dist/chr .
    Installing chr to ~/.local/bin... now automatically installs to
  • Local-first: Prioritize local branches over remote branches for better performance
  • Smart fetching: Only fetch remote branches when local branches don't exist

🐛 Bug Fixes

  • Fixed remote branch fetching logic that caused unnecessary network calls
  • Improved commit matching and filtering to handle amended commits better
  • Enhanced error handling with detailed debug output
  • Fixed issue where chr would mix local and remote branch references

💡 Improvements

  • Enhanced debug output shows exactly which branches are being used
  • Better picker logic with detailed matching information and scores
  • Cleaner build process with automatic installation to ~/.local/bin
  • More predictable behavior with local-first branch selection

🔧 Usage

Debug Mode

# Show debug information
chr pick --latest --show --debug

Skip Smart Filtering

# Show latest N commits without deduplication (useful for amended commits)
chr pick -c 2 --show --no-filter

Development

# Build and install in one command
make build

Perfect for cases where you've amended commits or have similar commit messages that confuse the smart matching algorithm.

v0.1.1

09 Jul 12:14

Choose a tag to compare

Full Changelog: v0.1.0...v0.1.1

v0.1.0

08 Jul 14:13

Choose a tag to compare

Full Changelog: 0.0.4...v0.1.0

0.0.4

06 Jul 02:00

Choose a tag to compare

Full Changelog: 0.0.3...0.0.4