| Crates.io | loki-cli |
| lib.rs | loki-cli |
| version | 1.7.0 |
| created_at | 2022-03-12 11:17:44.801944+00 |
| updated_at | 2026-01-25 13:12:03.427545+00 |
| description | Loki: 🚀 A Git productivity tool |
| homepage | https://github.com/kyle-rader/loki-cli |
| repository | https://github.com/kyle-rader/loki-cli |
| max_upload_size | |
| id | 548717 |
| size | 65,500 |
loki-cli A Git Productivity CLIGit is a pretty great tool on it's own. After some time common patterns emerge. lk is here to make those patterns fast.
First, install cargo by visiting https://rustup.rs.
Install with cargo (📦 loki-cli ):
cargo install loki-cli
lk -h
Loki: 🚀 A Git productivity tool
Usage: lk <COMMAND>
Commands:
new Create a new branch from HEAD and push it to origin. Set a prefix with --prefix or the LOKI_NEW_PREFIX env var [aliases: n]
push Push the current branch to origin with --set-upstream [aliases: p]
pull Pull with --prune deleting local branches pruned from the remote
fetch Fetch with --prune deleting local branches pruned from the remote
save Add, commit, and push using a timestamp based commit message [aliases: s]
commit Commit local changes [aliases: c]
rebase Rebase the current branch onto the target branch after fetching
no-hooks Run any command without triggering any hooks [aliases: x]
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
newAlias: n
-).origin.--prefix flag or the LOKI_NEW_PREFIX environment variable.❯ lk new readme updates
Creates and pushes readme-updates to origin with --set-upstream. (The command git will tell you to run if you simply run git push after creating a new local branch.)
saveAlias: s
This is a wrapper around lk commit + lk push
--all)lk pushcommitAlias: c
--all)pushAlias: p
--set-upstream.-f|--force flag uses --force-with-lease under the hood for better force push safety.HEAD is on a branch (not in a dettached state).pullAlias: none (the alias p is for push)
git pull --prune and remove any local branches that have also been pruned on the remote.fetchAlias: none
git fetch --prune and remove any local branches that have also been pruned on the remote.rebaseFetch and rebase the current branch onto the target branch, or main by default.
no-hooksAlias: x
Execute a git commit without running any hooks
lk x -- commit -m "Update Readme without running hooks"
repo statsAnalyze first-parent commits to see who has been landing work in a repository. All of the filtering flags operate on commit dates.
--name filters by author display name (repeatable, case-insensitive).--email filters by author email (repeatable, case-insensitive).❯ lk repo stats --weeks 4 --top 5