Skip to content

[0.5.0] grit binary is replaced by gs #883

Open

Description

@vazub

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.)

Activity

  1. vazub commented on Jun 21, 2026

    @vazub
    Author

    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-git binary with each release, please?

  2. schacon commented on Jun 22, 2026

    @schacon
    Member

    Can do.

  3. schacon commented on Jun 22, 2026

    @schacon
    Member
  4. vazub commented on Oct 10, 2026

    @vazub
    Author

    @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.

  5. schacon commented on Oct 10, 2026

    @schacon
    Member

    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 history style 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.

  6. vazub commented on Oct 10, 2026

    @vazub
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions