Bit is a modern Git CLI with interactive prompts

Bit is new Git CLI written in Go with auto-completion function/suggestions for commands, flags, file and branch names and even some new commands. It is suitable for Linux, macOS and Microsoft Windows.

Types of bit, Press Enter Key and display an interactive bit prompt.use Up with Down Arrow keys to browse all available Git options, or type a few letters of the command you are looking for to filter the results. bit checkout with bit switch An interactive prompt will also be displayed after pressing Enter.

In addition to supporting all available Git commands, Bit also comes with some of its own commands.For example, type bit pr View and check out pull requests from GitHub (this requires the GitHub CLI to be installed).Or type bit save Sync your changes to the Origin branch, which is roughly equivalent to git pull -r; git push.

Bit functions include:

  • Command and flag suggestions to help you navigate the many options that git provides you (recommended to be used with Git aliases)
  • Automatically complete file and branch names when used bit add Either bit checkout
  • Automatic extraction and fast forwarding to keep branches up to date and prevent merge conflicts
  • Fully compatible with Git
  • Commands from git-extras, for example bit release with bit info
  • The new commands are as follows:
    • With just one command, you can simplify the entire basic workflow: bit sync
    • bit pr View and check out pull requests from Github (GitHub CLI required)
    • bit save Synchronize changes to the origin branch (roughly equivalent to git pull -r; git push)
  • Can use automatic updates bit update, And can use the installation standard tab completion bit complete

This is the Bit demo GIF created by its developers:

Bit is a modern Git CLI with interactive prompts

You might also like: forgit: Interactive Git command with preview supported by fzf Fuzzy Finder

Bit also supports some visualization customization.If you don’t like the default theme, or you are using a portable terminal theme, you can reverse the “bit” theme by exporting BIT_THEME=inverted, Or use a monochrome theme BIT_THEME=monochrome. It does not seem to support custom color themes.

The tool has been used for less than 2 months, so many other features are planned, such as support for gitmoji commit messages, command history, Kitt Town Integration, bit undo Either bit fix Commands and so on.

Download and install Bit

Bit can be used as pre-compiled binary files for Linux, NetBSD, macOS and Windows.

On Linux, extract the Bit archive file, open a terminal, and cd Enter folder bit The executable file has been extracted and installed to /usr/local/bin use:

sudo install bit /usr/local/bin

For other ways to install Bit, see its Installation part.

Source

Sidebar