jetti-0.1.0 is not a library.
jetti
A fast, cross-platform tool for organizing git repositories into a consistent directory structure by host, owner, and repo name.
Install
Requires git in your PATH.
Usage
Clone a repository
# GitHub (default host, SSH by default)
# Explicit host
# Full URLs — protocol is inferred
# Shallow clone
# Force HTTPS
# Force SSH (useful when config defaults to HTTPS)
Repositories are cloned to <root>/<host>/<owner>/<repo>:
~/dev/
├── github.com/
│ └── rust-lang/
│ └── log/
├── gitlab.com/
│ └── user/
│ └── project/
└── codeberg.org/
└── user/
└── repo/
List repositories
|
Fetch and update
Status dashboard
Remove a repository
Configuration
Config file at ~/.config/jetti/config.toml:
= "/home/user/dev"
= "github.com"
= "ssh"
[[]]
= "github.com"
= "git@github.com:"
= "https://github.com/"
Shell completions
Add one of the following to your shell configuration:
# Bash (add to ~/.bashrc)
# Zsh (add to ~/.zshrc)
# Fish (add to ~/.config/fish/config.fish)
|
Shell integration
Jump to a repo with fzf:
# Add to .bashrc / .zshrc
Clone and cd in one step:
License
MIT