Repository navigation
[0.5.0] grit binary is replaced by gs #883
Copy link
Copy link
Open
Labels
area:packagingdocumentationImprovements or additions to documentationImprovements or additions to documentationfactory:triagedpriority:p2questionFurther information is requestedFurther information is requestedtype:compat
Description
Apparently, with the latest release, grit artifact got overwritten by gs target:
zeroalp$ grit --help
A simple Grit-powered CLI
Usage: grit [OPTIONS] [COMMAND]
Commands:
init Create a new, empty repository
clone Copy a remote repository into a new directory
remote List remotes, or add one
log Show recent commits reachable from HEAD
diff Show changes as a diff. No argument: uncommitted changes; with a commit: the change that commit introduced
show Show information about a commit, tag, or branch (defaults to HEAD)
status Show what's changed and where you are (this is the default)
shortlog List the commits on this branch that aren't on the target branch yet
add Stage changes. With no paths, stages everything
commit Stage every change and record a new commit
branch List branches, or create / delete one
switch Switch to another branch
merge Merge another branch into the current one
pick Cherry-pick a commit onto the current branch
fetch Download refs and objects from a remote
pull Fetch from the remote and integrate it into the current branch
push Publish the current branch to its remote
tag List tags, or create / delete one. A new tag points at HEAD
auth Sign in to GitHub (device flow) and store a token for HTTPS push/fetch
update Update grit to the latest release (re-runs the install script)
config Read, set, or list configuration values
manager Git credential helper backed by the Windows Credential Manager
help Print this message or the help of the given subcommand(s)
Options:
--json
Emit machine-readable JSON instead of human-readable text
--filter <EXPR>
jq-like expression applied to JSON output (requires `--json`).
Examples: `.branch`, `.commits[].oid`, `{branch, clean}`.
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
Therefore, lots of git-related functionality is now inaccessible (revert, rebase.. etc.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:packagingdocumentationImprovements or additions to documentationImprovements or additions to documentationfactory:triagedpriority:p2questionFurther information is requestedFurther information is requestedtype:compat
Activity
vazub commentedon Jun 21, 2026
Nevermind, just noticed the blog about it https://grit-scm.com/blog/grit-is-now-the-simple-cli/
However, is it possible to still get a pre-built
grit-gitbinary with each release, please?schacon commentedon Jun 22, 2026
Can do.
schacon commentedon Jun 22, 2026
#885
vazub commentedon Oct 10, 2026
@schacon
Now that there is a decision to completely drop grit-git, what is the plan with supporting some essential git cli functionality like
git restore,git reset,git rebase,git revert,git stash? This does not seem to be mentioned in the roadmap proper, and without that functionality or some kind of equivalents, grit would be rather limited for a real life use case.schacon commentedon Oct 10, 2026
Hm, this is a very interesting question. Some of these I am planning to implement, some I am not. Rebase is interesting, because I think it should be superceded by more powerful
grit historystyle commands. restore and revert and switch will certainly be there. Reset is a weird one, I've always felt that was poorly designed.I guess in the end I want to think through the UX but there shouldn't be something that is not possible to do. I just don't want to copy Git's UX for this project if that makes sense.
vazub commentedon Oct 10, 2026
I concur, Git's UX is not the best and definitely should be re-imagined, given this particular opportunity. What I care about is some equivalence, not 1:1 replica. Trivial use case - committed something and want to back off for reasons (
git revert) - no grit support there.