git-tui

command module
v0.0.0-...-af7c746 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2024 License: MIT Imports: 2 Imported by: 0

README

git-tui

An opinionated Git TUI, that makes use of worktrees rather than plain branches and provides keybindings for common actions.

Built using Go and git2go (Go bindings for libgit2) (mostly), on top of tview.

Currently it clones and manages repository in ~/dev. For each repository, a directory is created, with a subdirectory per branch/worktree (including the main branch).

Dependencies

  • Git itself.
  • On macOS, git2go/libgit2 depends on pkg-config (brew install pkg-config).

Building & Installing

make install

Why

Existing Git TUIs (e.g. LazyGit) are very unopinionated, don't necessarily support worktrees and don't adapt too well to my personal workflow. Also: I wanted to see if I could write a TUI in Go.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
git
tui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL