Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

interactive hunk stage/unstage tool

Resources

License

Packages

No packages published

Languages