Rust tools that help manage repositories and worktrees
  • Rust 80.1%
  • Shell 19.9%
Find a file
Noah Knegt 5feaa1dc94
feat(install-hooks): Add basic tool for installing hooks (#5)
Reviewed-on: #5
Co-authored-by: Noah Knegt <git@noahknegt.com>
Co-committed-by: Noah Knegt <git@noahknegt.com>
2026-01-19 15:41:30 +01:00
.github/workflows refactor(actions): Migrate workflows from Gitea to GitHub directory (#4) 2026-01-16 08:40:14 +01:00
command-with-spinner Create libs for common code 2025-05-08 16:50:03 +02:00
create-worktree chore: Fix formatting 2025-07-03 23:43:13 +02:00
git chore: Fix formatting 2025-07-03 23:43:13 +02:00
git-ssh-bitwarden Create libs for common code 2025-05-08 16:50:03 +02:00
install-hooks feat(install-hooks): Add basic tool for installing hooks (#5) 2026-01-19 15:41:30 +01:00
setup-repo chore: Fix formatting 2025-07-03 23:43:13 +02:00
.gitignore Create rust bins 2025-05-07 18:59:03 +02:00
Cargo.lock feat(install-hooks): Add basic tool for installing hooks (#5) 2026-01-19 15:41:30 +01:00
Cargo.toml feat(install-hooks): Add basic tool for installing hooks (#5) 2026-01-19 15:41:30 +01:00
LICENSE Initial commit 2025-05-07 18:52:18 +02:00
README.md feat(install-hooks): Add basic tool for installing hooks (#5) 2026-01-19 15:41:30 +01:00

repo-utils

Rust tools that help manage repositories and worktrees

Tools

install-hooks

A tool to install and manage Git hooks in repositories.

Features:

  • 🔗 Symlink-based installation - Keep hooks in version control
  • 📦 Automatic discovery of hooks directories
  • 💾 Safe backups of existing hooks
  • 🗑️ Clean uninstall functionality
  • 📋 List all installed hooks and their status

Usage:

# Install hooks from default directory (git-hooks or .git-hooks)
install-hooks install

# Install from specific directory
install-hooks install --hooks-dir path/to/hooks

# List installed hooks
install-hooks list

# Uninstall hooks
install-hooks uninstall

See install-hooks/README.md for detailed documentation.

setup-repo

Tool to set up Git repositories for worktree development.

create-worktree

A tool to create git worktrees with convenient branch management.

git-ssh-bitwarden

Manage SSH keys from Bitwarden for Git operations.

Installation

Build all tools:

cargo build --release

Install a specific tool:

cargo install --path install-hooks
cargo install --path setup-repo
cargo install --path create-worktree

License

See the LICENSE file for details.