Skip to content
interactive hunk stage/unstage tool
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
editor
images
.gitignore
.travis.yml
LICENSE
README.md
go.mod
go.sum
main.go

README.md

gia

gia is a tool for interactive hunk staging.

Preview

screencast

Install

go get github.com/isacikgoz/gia

Program Arguments

usage: gia [<file>] [<args>]

Flags:
	-h, --help     Show help.
	-v, --version  Show application version.

Args:
  --
    Default mode, used on unstaged files.

  --no-index
    Used on untracked files.

  --cached
    Used on staged files.

Controls

  • ↓, j: Cursor down
  • ↑, k: Cursor up
  • n: Next hunk
  • N: Previous hunk
  • g: Go to top
  • G: Go to bottom
  • space: Stage/Unstage
  • q: Quit
  • c: Open controls

Adding To Your Own App

See main.go for usage. Also, feel free to open PR's.

License

BSD-3-Clause

You can’t perform that action at this time.